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.001351/0.001351, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001461/0.001461, allocations: 168.6 kB / 24.5 MB, free: 3.453 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.476/1.476, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 56.22 kB / 325.6 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.0937, allocations: 53.35 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009887/0.1036, allocations: 6.903 MB / 385.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005506/0.1091, allocations: 2.601 MB / 388.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.1104, allocations: 87.38 kB / 388.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.1121, allocations: 0.5898 MB / 389.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.1146, allocations: 0.7614 MB / 389.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.1158, allocations: 427.4 kB / 390.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003903/0.1197, allocations: 3.288 MB / 393.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002649/0.1223, allocations: 1.945 MB / 395.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.1254, allocations: 1.707 MB / 397.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003663/0.1291, allocations: 2.016 MB / 399.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009636/0.13, allocations: 464 kB / 399.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.1315, allocations: 0.648 MB / 400.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.1329, allocations: 1.262 MB / 401.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.1354, allocations: 1.583 MB / 403.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007806/0.1432, allocations: 6.151 MB / 409.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1432, allocations: 0 / 409.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1432, allocations: 4 kB / 409.3 MB, free: 1.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001655/0.1433, allocations: 0 / 409.3 MB, free: 1.117 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.00855/0.1519, allocations: 3.813 MB / 413.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1519, allocations: 15.91 kB / 413.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.1533, allocations: 446.5 kB / 413.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00391/0.1572, allocations: 2.123 MB / 415.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.1574, allocations: 225.8 kB / 415.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004176/0.1578, allocations: 280 kB / 416.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006973/0.1648, allocations: 4.442 MB / 420.7 MB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.444e-05/0.1648, allocations: 0 / 420.7 MB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002753/0.1651, allocations: 120 kB / 420.8 MB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.1653, allocations: 145.9 kB / 420.9 MB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005997/0.1713, allocations: 3.486 MB / 424.4 MB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.1885, allocations: 9.247 MB / 433.7 MB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.1911, allocations: 1.652 MB / 435.3 MB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/0.1937, allocations: 1.399 MB / 436.7 MB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.1939, allocations: 52.91 kB / 436.8 MB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.1939, allocations: 43.67 kB / 436.8 MB, free: 5.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.787e-06/0.1939, allocations: 7.938 kB / 436.8 MB, free: 5.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009523/0.2034, allocations: 5.109 MB / 441.9 MB, free: 88 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.2035, allocations: 98.42 kB / 442 MB, free: 15.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.2063, allocations: 1.725 MB / 443.7 MB, free: 14.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001783/0.2065, allocations: 45.7 kB / 443.8 MB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.2076, allocations: 1.364 MB / 445.1 MB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004762/0.208, allocations: 483.9 kB / 445.6 MB, free: 12.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/0.2085, allocations: 275.5 kB / 445.9 MB, free: 12.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2086, allocations: 309.1 kB / 446.2 MB, free: 11.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.2099, allocations: 0.812 MB / 447 MB, free: 10.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.2117, allocations: 1.215 MB / 448.2 MB, free: 9.578 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.2148, allocations: 2.078 MB / 450.3 MB, free: 7.355 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.2148, allocations: 4 kB / 450.3 MB, free: 7.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004706/0.2195, allocations: 2.508 MB / 452.8 MB, free: 4.832 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.2196, allocations: 12 kB / 452.8 MB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.2196, allocations: 8 kB / 452.8 MB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.2215, allocations: 476 kB / 453.3 MB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.2229, allocations: 335.5 kB / 453.6 MB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005977/0.2289, allocations: 4.215 MB / 457.8 MB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.2302, allocations: 87.94 kB / 457.9 MB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.2304, allocations: 60 kB / 458 MB, free: 15.57 MB / 430.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.001813/0.2322, allocations: 1.048 MB / 459 MB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/0.2326, allocations: 186.9 kB / 459.2 MB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003819/0.2364, allocations: 2.12 MB / 461.3 MB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.65e-05/0.2365, allocations: 20 kB / 461.3 MB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.2365, allocations: 4 kB / 461.4 MB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.2365, allocations: 11.91 kB / 461.4 MB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008178/0.2447, allocations: 4.487 MB / 465.8 MB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2447, allocations: 0 / 465.8 MB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.2457, allocations: 231.9 kB / 466.1 MB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.2475, allocations: 452.8 kB / 466.5 MB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.021e-05/0.2476, allocations: 35.98 kB / 466.6 MB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005756/0.2534, allocations: 4.11 MB / 470.7 MB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.2534, allocations: 4.062 kB / 470.7 MB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1892/0.4425, allocations: 3.234 MB / 473.9 MB, free: 82.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/0.444, allocations: 367.5 kB / 474.3 MB, free: 82.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.4442, allocations: 31.02 kB / 474.3 MB, free: 82.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.4452, allocations: 93.34 kB / 474.4 MB, free: 82.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.4455, allocations: 102.6 kB / 474.5 MB, free: 82.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.4456, allocations: 38.77 kB / 474.5 MB, free: 82.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001874/0.4475, allocations: 1.193 MB / 475.7 MB, free: 82.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4475, allocations: 0 / 475.7 MB, free: 82.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001652/0.4491, allocations: 0.5514 MB / 476.3 MB, free: 82.04 MB / 430.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.0004939/0.4496, allocations: 225.3 kB / 476.5 MB, free: 81.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.4532, allocations: 2.119 MB / 478.6 MB, free: 81.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.4533, allocations: 1.094 kB / 478.6 MB, free: 81.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.4552, allocations: 1.16 MB / 479.8 MB, free: 80.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.4573, allocations: 409.2 kB / 480.2 MB, free: 80.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008995/0.4663, allocations: 5.808 MB / 486 MB, free: 78.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/0.4681, allocations: 1.867 MB / 487.8 MB, free: 77.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001307/0.4694, allocations: 473.4 kB / 488.3 MB, free: 77.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.4698, allocations: 131.2 kB / 488.4 MB, free: 77.63 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4698, allocations: 0 / 488.4 MB, free: 77.63 MB / 430.1 MB Notification: Performance of Templates: time 0.03826/0.5081, allocations: 27.69 MB / 0.504 GB, free: 54.38 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] 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: 5.457786170998588]