Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008373/0.0008373, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 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.0009277/0.0009277, allocations: 169 kB / 25.33 MB, free: 9.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.965/0.965, allocations: 158.6 MB / 187.2 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_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.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.721e-05, allocations: 2.312 kB / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01012/0.01016, allocations: 7.606 MB / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00664/0.0168, allocations: 2.716 MB / 261.4 MB, free: 13.13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.01939, allocations: 75.38 kB / 261.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.02189, allocations: 0.5819 MB / 262 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004002/0.02589, allocations: 0.7917 MB / 262.8 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.02772, allocations: 451.2 kB / 263.3 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005811/0.03353, allocations: 3.528 MB / 266.8 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003486/0.03702, allocations: 1.868 MB / 268.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006874/0.04389, allocations: 2.894 MB / 271.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/0.04719, allocations: 1.863 MB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.04837, allocations: 452 kB / 273.9 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.05042, allocations: 0.6479 MB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.0518, allocations: 1.258 MB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002937/0.05474, allocations: 1.341 MB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005048/0.05979, allocations: 3.275 MB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.0598, allocations: 3.938 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.0598, allocations: 0 / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001542/0.05995, allocations: 0 / 280.4 MB, free: 10.03 MB / 266.7 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.005947/0.0659, allocations: 3.931 MB / 284.3 MB, free: 6.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.06596, allocations: 15.98 kB / 284.3 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.06709, allocations: 0.6314 MB / 285 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.06931, allocations: 1.745 MB / 286.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.06943, allocations: 226.2 kB / 286.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.06974, allocations: 296.3 kB / 287.2 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004521/0.07426, allocations: 2.48 MB / 289.7 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/0.0743, allocations: 0 / 289.7 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/0.07451, allocations: 124 kB / 289.8 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/0.07465, allocations: 137.9 kB / 289.9 MB, free: 232 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.07712, allocations: 1.007 MB / 291 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.08927, allocations: 8.21 MB / 299.2 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.09055, allocations: 0.8903 MB / 300.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.09185, allocations: 0.8623 MB / 300.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.09204, allocations: 56.97 kB / 301 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.09208, allocations: 54.39 kB / 301 MB, free: 4.938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 4.369e-06/0.09209, allocations: 0 / 301 MB, free: 4.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.005144/0.09723, allocations: 2.723 MB / 303.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.0973, allocations: 90.42 kB / 303.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.09921, allocations: 1.369 MB / 305.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.09933, allocations: 49.7 kB / 305.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008824/0.1002, allocations: 1.458 MB / 306.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.1005, allocations: 491.9 kB / 307.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.1008, allocations: 277.2 kB / 307.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.101, allocations: 488.7 kB / 307.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.1014, allocations: 223.8 kB / 308.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.102, allocations: 0.7709 MB / 308.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.1031, allocations: 1.08 MB / 310 MB, free: 11.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.1031, allocations: 4 kB / 310 MB, free: 11.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001946/0.105, allocations: 1.308 MB / 311.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.1051, allocations: 8.188 kB / 311.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.1051, allocations: 16 kB / 311.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.1061, allocations: 385 kB / 311.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/0.107, allocations: 319.5 kB / 312 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.11, allocations: 3.329 MB / 315.4 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009216/0.111, allocations: 79.92 kB / 315.4 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.1111, allocations: 63.98 kB / 315.5 MB, free: 5.793 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (157): * Single equations (assignments): 152 * 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.0007257/0.1118, allocations: 240.1 kB / 315.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.1122, allocations: 230.8 kB / 316 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.1138, allocations: 1.033 MB / 317 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/0.1139, allocations: 23.98 kB / 317 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.1139, allocations: 4 kB / 317 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1139, allocations: 11.98 kB / 317 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005222/0.1191, allocations: 3.364 MB / 320.4 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1191, allocations: 0 / 320.4 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005639/0.1197, allocations: 219.7 kB / 320.6 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009986/0.1207, allocations: 379.7 kB / 321 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.152e-05/0.1208, allocations: 27.98 kB / 321 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.1236, allocations: 3.295 MB / 324.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1236, allocations: 4 kB / 324.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.1258, allocations: 1.51 MB / 325.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005663/0.1264, allocations: 318.7 kB / 326.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.1265, allocations: 31.92 kB / 326.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.127, allocations: 87.89 kB / 326.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.1272, allocations: 100.8 kB / 326.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/0.1272, allocations: 36 kB / 326.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000916/0.1282, allocations: 0.791 MB / 327.2 MB, free: 9.824 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1282, allocations: 0 / 327.2 MB, free: 9.824 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0013/0.1295, allocations: 0.5467 MB / 327.7 MB, free: 9.277 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (103): * Single equations (assignments): 98 * 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.0004928/0.1299, allocations: 217.5 kB / 327.9 MB, free: 9.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.1317, allocations: 1.195 MB / 329.1 MB, free: 7.859 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1317, allocations: 8.125 kB / 329.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009004/0.1326, allocations: 0.7856 MB / 329.9 MB, free: 7.043 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.1337, allocations: 423 kB / 330.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/0.141, allocations: 4.806 MB / 335.1 MB, free: 1.738 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/0.1419, allocations: 0.8789 MB / 336 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009051/0.1428, allocations: 369.8 kB / 336.4 MB, free: 476 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.1431, allocations: 120.5 kB / 336.5 MB, free: 352 kB / 314.7 MB Notification: Performance of SimCode: time 2.855e-06/0.1431, allocations: 0 / 336.5 MB, free: 352 kB / 314.7 MB Notification: Performance of Templates: time 0.1454/0.2885, allocations: 27.25 MB / 363.8 MB, free: 93.11 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5124266128987074]