Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 39.94 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3261, allocations: 53.36 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01047/0.3365, allocations: 7.856 MB / 439 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006077/0.3426, allocations: 2.734 MB / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.3443, allocations: 91.31 kB / 441.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.3464, allocations: 0.5869 MB / 442.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.3491, allocations: 0.7692 MB / 443.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.3505, allocations: 431.3 kB / 443.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00477/0.3552, allocations: 3.296 MB / 446.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003588/0.3588, allocations: 2.004 MB / 448.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/0.3626, allocations: 1.706 MB / 450.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003968/0.3665, allocations: 2.079 MB / 452.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.3677, allocations: 464 kB / 453.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.3698, allocations: 0.7182 MB / 453.9 MB, free: 8 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002075/0.3719, allocations: 1.27 MB / 455.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003767/0.3757, allocations: 1.964 MB / 457.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008636/0.3843, allocations: 6.131 MB / 463.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.3843, allocations: 0 / 463.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3843, allocations: 0 / 463.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001771/0.3845, allocations: 0 / 463.2 MB, free: 6.613 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01071/0.3952, allocations: 3.813 MB / 467 MB, free: 2.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.3953, allocations: 11.97 kB / 467 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/0.3965, allocations: 437.8 kB / 467.5 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.3986, allocations: 446.5 kB / 467.9 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/0.4039, allocations: 2.119 MB / 470 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.4041, allocations: 221.8 kB / 470.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009089/0.405, allocations: 284 kB / 470.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008687/0.4137, allocations: 4.191 MB / 474.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.679e-05/0.4138, allocations: 0 / 474.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003181/0.4141, allocations: 124 kB / 474.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/0.4143, allocations: 133.9 kB / 475 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007325/0.4216, allocations: 3.493 MB / 478.5 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02236/0.444, allocations: 10.67 MB / 489.1 MB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.4466, allocations: 1.651 MB / 490.8 MB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/0.4491, allocations: 1.403 MB / 492.2 MB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.4494, allocations: 48.95 kB / 492.2 MB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/0.4495, allocations: 51.56 kB / 492.3 MB, free: 9.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.967e-06/0.4495, allocations: 4.047 kB / 492.3 MB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009983/0.4594, allocations: 5.132 MB / 497.4 MB, free: 4.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.4595, allocations: 90.42 kB / 497.5 MB, free: 3.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/0.4624, allocations: 1.914 MB / 499.4 MB, free: 1.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.4625, allocations: 49.7 kB / 499.5 MB, free: 1.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.4636, allocations: 1.353 MB / 0.4891 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/0.4641, allocations: 495.8 kB / 0.4896 GB, free: 72 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/0.4645, allocations: 263.7 kB / 0.4898 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4646, allocations: 304.9 kB / 0.4901 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.4659, allocations: 0.8198 MB / 0.4909 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.4675, allocations: 1.182 MB / 0.4921 GB, free: 13.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/0.4705, allocations: 2.082 MB / 0.4941 GB, free: 11.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.4705, allocations: 8 kB / 0.4941 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004352/0.4749, allocations: 2.516 MB / 0.4965 GB, free: 8.598 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.4749, allocations: 16.19 kB / 0.4966 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.4749, allocations: 8 kB / 0.4966 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.4769, allocations: 482.9 kB / 0.497 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.4782, allocations: 331.5 kB / 0.4973 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00597/0.4841, allocations: 4.298 MB / 0.5015 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.4856, allocations: 87.98 kB / 0.5016 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.4858, allocations: 56 kB / 0.5017 GB, free: 3.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002053/0.4878, allocations: 1.051 MB / 0.5027 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006331/0.4885, allocations: 202.8 kB / 0.5029 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/0.4925, allocations: 2.141 MB / 0.505 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.671e-05/0.4925, allocations: 16 kB / 0.505 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.4925, allocations: 4 kB / 0.505 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.4925, allocations: 3.984 kB / 0.505 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.5035, allocations: 5.154 MB / 0.51 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.5035, allocations: 7.938 kB / 0.5101 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.5045, allocations: 223.6 kB / 0.5103 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/0.5064, allocations: 461 kB / 0.5107 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.5066, allocations: 31.98 kB / 0.5107 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005967/0.5125, allocations: 4.215 MB / 0.5149 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.5125, allocations: 8.031 kB / 0.5149 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0059/0.5184, allocations: 3.252 MB / 0.518 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.5197, allocations: 386.7 kB / 0.5184 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004762/0.5202, allocations: 31.98 kB / 0.5184 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.5215, allocations: 99.95 kB / 0.5185 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.5217, allocations: 100.7 kB / 0.5186 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.5218, allocations: 39.94 kB / 0.5187 GB, free: 1.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002552/0.5244, allocations: 1.35 MB / 0.52 GB, free: 224 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5244, allocations: 0 / 0.52 GB, free: 224 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002063/0.5265, allocations: 0.5546 MB / 0.5205 GB, free: 15.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00634/0.5328, allocations: 3.925 MB / 0.5244 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003946/0.5367, allocations: 2.13 MB / 0.5264 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5368, allocations: 0 / 0.5264 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.5389, allocations: 1.152 MB / 0.5276 GB, free: 8.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/0.5418, allocations: 0.5071 MB / 0.5281 GB, free: 7.879 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2417/0.7835, allocations: 20.63 MB / 0.5482 GB, free: 96.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.7853, allocations: 2.426 MB / 0.5506 GB, free: 95.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001133/0.7864, allocations: 498.8 kB / 0.551 GB, free: 95.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.7874, allocations: 1.067 MB / 0.5521 GB, free: 94.13 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.7874, allocations: 0 / 0.5521 GB, free: 94.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09374/0.8812, allocations: 53.54 MB / 0.6044 GB, free: 41.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.85, allocations: 15.94 kB / 0.6044 GB, free: 41.51 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.43248357390985]