Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001621/0.001621, allocations: 78.33 kB / 21.24 MB, free: 0.543 MB / 14.72 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.001934/0.001934, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.556/1.556, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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: 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 61.86 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.1007, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009267/0.11, allocations: 6.942 MB / 385.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006188/0.1161, allocations: 2.609 MB / 388.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.1176, allocations: 91.38 kB / 388.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.1192, allocations: 0.5859 MB / 389.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.1217, allocations: 0.7808 MB / 389.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1227, allocations: 427.4 kB / 390.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004158/0.1268, allocations: 3.308 MB / 393.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.1296, allocations: 1.945 MB / 395.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.1326, allocations: 1.713 MB / 397.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003109/0.1357, allocations: 2.028 MB / 399.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007148/0.1364, allocations: 464 kB / 399.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.1377, allocations: 0.648 MB / 400.4 MB, free: 9.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.1392, allocations: 1.274 MB / 401.7 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002177/0.1414, allocations: 1.591 MB / 403.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006912/0.1483, allocations: 6.167 MB / 409.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1483, allocations: 4 kB / 409.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1483, allocations: 0 / 409.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001063/0.1484, allocations: 4 kB / 409.5 MB, free: 0.7461 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: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.008004/0.1564, allocations: 3.829 MB / 413.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1565, allocations: 12.03 kB / 413.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.1578, allocations: 450.5 kB / 413.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/0.1619, allocations: 2.123 MB / 415.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.1621, allocations: 222.2 kB / 416.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004617/0.1626, allocations: 288.1 kB / 416.4 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007099/0.1697, allocations: 4.473 MB / 420.9 MB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/0.1697, allocations: 11.98 kB / 420.9 MB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/0.17, allocations: 120 kB / 421 MB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/0.1702, allocations: 149.9 kB / 421.1 MB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005981/0.1762, allocations: 3.501 MB / 424.6 MB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/0.1933, allocations: 9.282 MB / 433.9 MB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.1959, allocations: 1.656 MB / 435.6 MB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002549/0.1984, allocations: 1.404 MB / 437 MB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.1986, allocations: 40.97 kB / 437 MB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.1987, allocations: 51.56 kB / 437.1 MB, free: 4.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 4.197e-06/0.1987, allocations: 0 / 437.1 MB, free: 4.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.00955/0.2083, allocations: 5.125 MB / 442.2 MB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.2083, allocations: 90.42 kB / 442.3 MB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.211, allocations: 1.722 MB / 444 MB, free: 13.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.2111, allocations: 49.7 kB / 444 MB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.2122, allocations: 1.376 MB / 445.4 MB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.2126, allocations: 475.9 kB / 445.9 MB, free: 11.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004535/0.2131, allocations: 271.5 kB / 446.2 MB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2132, allocations: 309.1 kB / 446.5 MB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.2145, allocations: 0.8159 MB / 447.3 MB, free: 10.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.2162, allocations: 1.212 MB / 448.5 MB, free: 9.094 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/0.2192, allocations: 2.075 MB / 450.6 MB, free: 6.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.2192, allocations: 8 kB / 450.6 MB, free: 6.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004432/0.2236, allocations: 2.5 MB / 453.1 MB, free: 4.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.2236, allocations: 8.188 kB / 453.1 MB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.2237, allocations: 19.94 kB / 453.1 MB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/0.2256, allocations: 482.9 kB / 453.6 MB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.2271, allocations: 327.5 kB / 453.9 MB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/0.2331, allocations: 4.213 MB / 458.1 MB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.2345, allocations: 79.84 kB / 458.2 MB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.2347, allocations: 63.98 kB / 458.2 MB, free: 15.09 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.001845/0.2365, allocations: 1.059 MB / 459.3 MB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/0.237, allocations: 182.9 kB / 459.5 MB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.2408, allocations: 2.124 MB / 461.6 MB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/0.2409, allocations: 20 kB / 461.6 MB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2409, allocations: 7.938 kB / 461.6 MB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.2409, allocations: 7.969 kB / 461.6 MB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008439/0.2493, allocations: 4.484 MB / 466.1 MB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.2493, allocations: 4.219 kB / 466.1 MB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.2504, allocations: 223.7 kB / 466.3 MB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.2522, allocations: 464.7 kB / 466.8 MB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.22e-05/0.2523, allocations: 31.92 kB / 466.8 MB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005691/0.2579, allocations: 4.108 MB / 470.9 MB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2579, allocations: 3.938 kB / 470.9 MB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1949/0.4528, allocations: 3.235 MB / 474.2 MB, free: 81.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.4541, allocations: 364.1 kB / 474.5 MB, free: 81.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/0.4543, allocations: 30.27 kB / 474.6 MB, free: 81.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.4554, allocations: 95.95 kB / 474.7 MB, free: 81.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.4556, allocations: 99.72 kB / 474.7 MB, free: 81.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.4557, allocations: 41.12 kB / 474.8 MB, free: 81.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001787/0.4575, allocations: 1.19 MB / 476 MB, free: 81.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4575, allocations: 0 / 476 MB, free: 81.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001798/0.4593, allocations: 0.5541 MB / 476.5 MB, free: 81.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.0005846/0.4599, allocations: 224 kB / 476.8 MB, free: 80.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00361/0.4635, allocations: 2.124 MB / 478.9 MB, free: 80.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.4635, allocations: 1.219 kB / 478.9 MB, free: 80.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.4655, allocations: 1.154 MB / 480 MB, free: 80.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.4677, allocations: 417 kB / 480.4 MB, free: 79.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009959/0.4776, allocations: 5.823 MB / 486.3 MB, free: 77.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/0.4795, allocations: 1.885 MB / 488.1 MB, free: 76.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001227/0.4807, allocations: 468.3 kB / 488.6 MB, free: 76.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.4811, allocations: 127.4 kB / 488.7 MB, free: 76.75 MB / 430.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4811, allocations: 0 / 488.7 MB, free: 76.75 MB / 430.1 MB Notification: Performance of Templates: time 0.03725/0.5183, allocations: 27.71 MB / 0.5043 GB, free: 53.36 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.591050143004395]