Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008106/0.0008106, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008825/0.0008825, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8577/0.8577, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.411e-05, allocations: 2.281 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004594/0.004608, allocations: 5.919 MB / 330.4 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.007498, allocations: 2.145 MB / 332.6 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.007915, allocations: 55.62 kB / 332.6 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.008499, allocations: 385.3 kB / 333 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.009832, allocations: 0.8699 MB / 333.9 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.01032, allocations: 357.8 kB / 334.2 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00227/0.01259, allocations: 3.295 MB / 337.5 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009696/0.01356, allocations: 1.078 MB / 338.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.0152, allocations: 1.883 MB / 340.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.01642, allocations: 1.532 MB / 342 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.01669, allocations: 292 kB / 342.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005044/0.01719, allocations: 423.7 kB / 342.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004487/0.01764, allocations: 0.884 MB / 343.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007271/0.01837, allocations: 1.013 MB / 344.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.02097, allocations: 4.18 MB / 348.8 MB, free: 7.508 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.02097, allocations: 0 / 348.8 MB, free: 7.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02097, allocations: 0 / 348.8 MB, free: 7.508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.016e-05/0.02101, allocations: 0 / 348.8 MB, free: 7.508 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.00425/0.02526, allocations: 3.455 MB / 352.2 MB, free: 4.004 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.02531, allocations: 15.98 kB / 352.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002606/0.02557, allocations: 337.2 kB / 352.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.02748, allocations: 0.7602 MB / 353.4 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.02929, allocations: 1.678 MB / 355 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.02937, allocations: 169 kB / 355.2 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.02957, allocations: 232.3 kB / 355.4 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/0.03268, allocations: 3.453 MB / 358.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.0327, allocations: 0 / 358.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.03284, allocations: 96 kB / 359 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/0.03289, allocations: 75.31 kB / 359 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/0.03578, allocations: 2.87 MB / 361.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009202/0.04498, allocations: 8.383 MB / 370.3 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.04723, allocations: 1.83 MB / 372.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007242/0.04795, allocations: 0.7643 MB / 372.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002302/0.05026, allocations: 2.047 MB / 374.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.05029, allocations: 50.69 kB / 375 MB, free: 12.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 2.215e-06/0.05029, allocations: 0 / 375 MB, free: 12.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.00475/0.05504, allocations: 4.153 MB / 379.1 MB, free: 8.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.05508, allocations: 111.3 kB / 379.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.0564, allocations: 1.641 MB / 380.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.05645, allocations: 45.7 kB / 380.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/0.05692, allocations: 1.149 MB / 382.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.05716, allocations: 364.9 kB / 382.4 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.05737, allocations: 242.8 kB / 382.7 MB, free: 4.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.05746, allocations: 357.9 kB / 383 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/0.05809, allocations: 0.631 MB / 383.7 MB, free: 3.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007829/0.05887, allocations: 1.016 MB / 384.7 MB, free: 2.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.06032, allocations: 1.699 MB / 386.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.06032, allocations: 4 kB / 386.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001989/0.06231, allocations: 1.946 MB / 388.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.06234, allocations: 16.06 kB / 388.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.06235, allocations: 15.94 kB / 388.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.06258, allocations: 125.6 kB / 388.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.06323, allocations: 335.5 kB / 388.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.06507, allocations: 3.2 MB / 392 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.06557, allocations: 99.8 kB / 392.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.06563, allocations: 60.22 kB / 392.2 MB, free: 10.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009092/0.06654, allocations: 0.8328 MB / 393 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.06668, allocations: 159 kB / 393.1 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.06813, allocations: 1.395 MB / 394.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.06814, allocations: 8 kB / 394.5 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.06815, allocations: 8 kB / 394.6 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.06816, allocations: 7.922 kB / 394.6 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.07047, allocations: 2.259 MB / 396.8 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.07048, allocations: 4.281 kB / 396.8 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.07088, allocations: 179.8 kB / 397 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003537/0.07123, allocations: 266.2 kB / 397.3 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.07128, allocations: 39.91 kB / 397.3 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003264/0.07454, allocations: 5.898 MB / 403.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.07454, allocations: 0 / 403.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.07687, allocations: 2.561 MB / 405.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.0771, allocations: 186.8 kB / 405.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.0772, allocations: 35.92 kB / 406 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.07762, allocations: 83.91 kB / 406.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.07777, allocations: 100.3 kB / 406.2 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.07781, allocations: 31.98 kB / 406.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009916/0.0788, allocations: 1.132 MB / 407.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0788, allocations: 0 / 407.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009668/0.07977, allocations: 448 kB / 407.8 MB, free: 10.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002588/0.08236, allocations: 3.167 MB / 410.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.08402, allocations: 1.668 MB / 412.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.08403, allocations: 5.75 kB / 412.6 MB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009574/0.08498, allocations: 1.153 MB / 413.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008218/0.08581, allocations: 281.6 kB / 414 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/0.1036, allocations: 17.41 MB / 431.4 MB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.1052, allocations: 1.543 MB / 433 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008552/0.106, allocations: 459.5 kB / 433.4 MB, free: 372 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006786/0.1067, allocations: 0.8284 MB / 434.3 MB, free: 15.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1067, allocations: 0 / 434.3 MB, free: 15.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1808/0.2875, allocations: 40.56 MB / 474.8 MB, free: 97.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/8.572, allocations: 9.5 kB / 474.8 MB, free: 97.17 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.193184363655746]