Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 196.8 kB / 24.5 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.7 MB / 253.3 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 47.92 kB / 371.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2665, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0119/0.2784, allocations: 10.06 MB / 433.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006998/0.2854, allocations: 3.361 MB / 436.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.2876, allocations: 83.56 kB / 436.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009691/0.2973, allocations: 3.89 MB / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.3023, allocations: 1.582 MB / 442.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.3051, allocations: 1.07 MB / 443.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.3164, allocations: 9.212 MB / 452.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02513/0.3415, allocations: 12.95 MB / 465.6 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008181/0.3497, allocations: 5.187 MB / 470.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01044/0.3601, allocations: 6.145 MB / 477 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003955/0.3641, allocations: 1.398 MB / 478.4 MB, free: 7.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006007/0.3701, allocations: 1.629 MB / 480 MB, free: 5.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006136/0.3762, allocations: 2.93 MB / 482.9 MB, free: 2.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01062/0.3868, allocations: 5.455 MB / 488.4 MB, free: 13.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02362/0.4105, allocations: 18.88 MB / 0.4954 GB, free: 10.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4105, allocations: 0 / 0.4954 GB, free: 10.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4105, allocations: 0 / 0.4954 GB, free: 10.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000591/0.4111, allocations: 4 kB / 0.4954 GB, free: 10.42 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03912/0.4502, allocations: 12.37 MB / 0.5075 GB, free: 13.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.4502, allocations: 12.03 kB / 0.5075 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002929/0.4505, allocations: 246.4 kB / 0.5077 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004893/0.4554, allocations: 1.328 MB / 0.509 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04868/0.5041, allocations: 8.546 MB / 0.5174 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.5184, allocations: 6.007 MB / 0.5232 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006803/0.5191, allocations: 0.6623 MB / 0.5239 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003706/0.5228, allocations: 0.871 MB / 0.5247 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4397/0.9625, allocations: 15.97 MB / 0.5403 GB, free: 88.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002776/0.9628, allocations: 5.562 kB / 0.5403 GB, free: 88.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001392/0.9641, allocations: 368 kB / 0.5407 GB, free: 88.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005935/0.9647, allocations: 0.5659 MB / 0.5412 GB, free: 88.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02835/0.9931, allocations: 15.72 MB / 0.5566 GB, free: 82.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08686/1.08, allocations: 46.6 MB / 0.6021 GB, free: 39.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/1.095, allocations: 8.479 MB / 0.6104 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004634/1.1, allocations: 3.238 MB / 0.6135 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005065/1.1, allocations: 107.9 kB / 0.6136 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.058e-05/1.1, allocations: 82.56 kB / 0.6137 GB, free: 28.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.434e-06/1.101, allocations: 3.938 kB / 0.6137 GB, free: 28.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.0229/1.123, allocations: 11.07 MB / 0.6245 GB, free: 17.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/1.123, allocations: 129.1 kB / 0.6246 GB, free: 17.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007641/1.131, allocations: 3.841 MB / 0.6284 GB, free: 13.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00123/1.132, allocations: 101.7 kB / 0.6285 GB, free: 13.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002744/1.135, allocations: 4.054 MB / 0.6324 GB, free: 9.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002101/1.137, allocations: 1.685 MB / 0.6341 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004976/1.142, allocations: 1.477 MB / 0.6355 GB, free: 6.406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.942e-05/1.142, allocations: 309.1 kB / 0.6358 GB, free: 6.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005762/1.148, allocations: 3.684 MB / 0.6394 GB, free: 2.414 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009369/1.157, allocations: 6.523 MB / 0.6458 GB, free: 10.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01758/1.175, allocations: 10.83 MB / 0.6564 GB, free: 14.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001554/1.175, allocations: 27.94 kB / 0.6564 GB, free: 14.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02829/1.203, allocations: 11.92 MB / 0.668 GB, free: 2.395 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/1.204, allocations: 48 kB / 0.6681 GB, free: 2.348 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001941/1.204, allocations: 95.94 kB / 0.6682 GB, free: 2.254 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005497/1.209, allocations: 1.625 MB / 0.6698 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006753/1.216, allocations: 1.661 MB / 0.6714 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02385/1.24, allocations: 17.05 MB / 0.688 GB, free: 13.21 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007356/1.247, allocations: 0.9859 MB / 0.689 GB, free: 12.21 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00193/1.249, allocations: 352 kB / 0.6893 GB, free: 11.87 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009473/1.259, allocations: 3.759 MB / 0.693 GB, free: 8.098 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/1.26, allocations: 413.3 kB / 0.6934 GB, free: 7.691 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01939/1.28, allocations: 8.53 MB / 0.7017 GB, free: 15.07 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-05/1.28, allocations: 55.94 kB / 0.7018 GB, free: 15.02 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.409e-05/1.28, allocations: 12 kB / 0.7018 GB, free: 15.01 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.499e-05/1.28, allocations: 23.91 kB / 0.7018 GB, free: 14.98 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04001/1.32, allocations: 16.81 MB / 0.7182 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/1.32, allocations: 4 kB / 0.7182 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004019/1.324, allocations: 0.862 MB / 0.7191 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005243/1.329, allocations: 1.515 MB / 0.7206 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008811/1.33, allocations: 104 kB / 0.7207 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0232/1.353, allocations: 16.86 MB / 0.7371 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.353, allocations: 4 kB / 0.7371 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2693/1.622, allocations: 12.21 MB / 0.749 GB, free: 181.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003807/1.626, allocations: 1.082 MB / 0.7501 GB, free: 181.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008197/1.627, allocations: 84.81 kB / 0.7502 GB, free: 181.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/1.63, allocations: 308.6 kB / 0.7505 GB, free: 181.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006597/1.63, allocations: 342.4 kB / 0.7508 GB, free: 181.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002601/1.631, allocations: 134.2 kB / 0.7509 GB, free: 181.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002913/1.634, allocations: 2.579 MB / 0.7535 GB, free: 181 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.634, allocations: 0 / 0.7535 GB, free: 181 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006033/1.64, allocations: 2.403 MB / 0.7558 GB, free: 180.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01541/1.655, allocations: 12.92 MB / 0.7684 GB, free: 175.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01297/1.668, allocations: 8.983 MB / 0.7772 GB, free: 172.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.668, allocations: 0 / 0.7772 GB, free: 172.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005772/1.674, allocations: 4.171 MB / 0.7813 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/1.677, allocations: 0.7384 MB / 0.782 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08091/1.758, allocations: 61.48 MB / 0.842 GB, free: 108.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007506/1.766, allocations: 6.045 MB / 0.8479 GB, free: 102.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007245/1.773, allocations: 3.259 MB / 0.8511 GB, free: 98.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004497/1.778, allocations: 3.038 MB / 0.8541 GB, free: 95.78 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/1.778, allocations: 0 / 0.8541 GB, free: 95.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.443/2.221, allocations: 133.2 MB / 0.9842 GB, free: 186 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.94/23.16, allocations: 7.984 kB / 0.9842 GB, free: 186 MB / 0.5607 GB " [Timeout remaining time 637] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 33.8885712219635]