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.001081/0.001081, allocations: 84.3 kB / 22.21 MB, free: 2.285 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.001192/0.001192, allocations: 170.6 kB / 25.6 MB, free: 8.09 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 1.001/1.001, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.064e-06/2.064e-06, allocations: 0 / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.098e-05, allocations: 6.312 kB / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01045/0.01048, allocations: 7.38 MB / 258.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007046/0.01753, allocations: 2.696 MB / 261.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.01964, allocations: 75.38 kB / 261.6 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.02189, allocations: 0.5935 MB / 262.2 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003283/0.02517, allocations: 0.7879 MB / 263 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.02665, allocations: 451.1 kB / 263.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005024/0.03168, allocations: 3.528 MB / 267 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003971/0.03565, allocations: 1.864 MB / 268.8 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006211/0.04186, allocations: 2.894 MB / 271.7 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003814/0.04567, allocations: 1.875 MB / 273.6 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.04698, allocations: 452 kB / 274.1 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.04833, allocations: 0.6557 MB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008425/0.04918, allocations: 1.251 MB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.05069, allocations: 1.345 MB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003372/0.05406, allocations: 3.279 MB / 280.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.05407, allocations: 0 / 280.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.05407, allocations: 0 / 280.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.173e-05/0.05414, allocations: 0 / 280.6 MB, free: 9.977 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.005085/0.05923, allocations: 3.848 MB / 284.4 MB, free: 6.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.05928, allocations: 19.98 kB / 284.5 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009676/0.06025, allocations: 0.6236 MB / 285.1 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.0623, allocations: 1.636 MB / 286.7 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.06245, allocations: 222.2 kB / 286.9 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002968/0.06274, allocations: 292.3 kB / 287.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/0.06563, allocations: 2.296 MB / 289.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.06567, allocations: 4 kB / 289.5 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.06584, allocations: 116 kB / 289.6 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.06597, allocations: 141.9 kB / 289.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.06742, allocations: 0.7623 MB / 290.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.07792, allocations: 8.06 MB / 298.6 MB, free: 7.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.07886, allocations: 0.8123 MB / 299.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.07986, allocations: 0.7956 MB / 300.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.08004, allocations: 44.92 kB / 300.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.08009, allocations: 54.39 kB / 300.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 4.238e-06/0.08009, allocations: 0 / 300.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.003592/0.08368, allocations: 2.152 MB / 302.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.08373, allocations: 94.42 kB / 302.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.08496, allocations: 1.341 MB / 303.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.08502, allocations: 49.7 kB / 303.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008158/0.08584, allocations: 1.473 MB / 305.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.08613, allocations: 495.8 kB / 305.9 MB, free: 132 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.08644, allocations: 285 kB / 306.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.08658, allocations: 476.8 kB / 306.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.08685, allocations: 167.8 kB / 306.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.08738, allocations: 0.7356 MB / 307.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/0.0883, allocations: 0.9782 MB / 308.5 MB, free: 13.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.08831, allocations: 4 kB / 308.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001551/0.08986, allocations: 1.191 MB / 309.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.08989, allocations: 8 kB / 309.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.0899, allocations: 12 kB / 309.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000966/0.09087, allocations: 377.2 kB / 310.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.0915, allocations: 295.5 kB / 310.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/0.0943, allocations: 3.225 MB / 313.6 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/0.09495, allocations: 55.92 kB / 313.7 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.09503, allocations: 48 kB / 313.7 MB, free: 7.758 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.0005468/0.09558, allocations: 240.1 kB / 313.9 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.0959, allocations: 238.8 kB / 314.2 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.09711, allocations: 0.9397 MB / 315.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.09713, allocations: 19.94 kB / 315.1 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.09714, allocations: 4 kB / 315.1 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.09715, allocations: 7.969 kB / 315.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00429/0.1014, allocations: 3.226 MB / 318.4 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1014, allocations: 0 / 318.4 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/0.1019, allocations: 191.9 kB / 318.6 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008965/0.1028, allocations: 363.6 kB / 318.9 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/0.1029, allocations: 35.92 kB / 318.9 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.1054, allocations: 3.179 MB / 322.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1054, allocations: 3.938 kB / 322.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.1071, allocations: 1.381 MB / 323.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005289/0.1076, allocations: 286.7 kB / 323.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.1077, allocations: 28 kB / 323.8 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.1081, allocations: 67.98 kB / 323.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.1083, allocations: 96.75 kB / 324 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.1083, allocations: 28 kB / 324 MB, free: 13.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007029/0.109, allocations: 0.7322 MB / 324.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.109, allocations: 4 kB / 324.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001423/0.1105, allocations: 0.5389 MB / 325.3 MB, free: 11.89 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.0005029/0.111, allocations: 213.7 kB / 325.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.1125, allocations: 1.1 MB / 326.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1125, allocations: 0 / 326.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007923/0.1133, allocations: 0.752 MB / 327.3 MB, free: 9.797 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.1143, allocations: 424.6 kB / 327.8 MB, free: 9.379 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/0.121, allocations: 4.751 MB / 332.5 MB, free: 4.539 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009496/0.1219, allocations: 0.875 MB / 333.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008454/0.1228, allocations: 230 kB / 333.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007241/0.1235, allocations: 489.9 kB / 334.1 MB, free: 2.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.703e-06/0.1235, allocations: 4 kB / 334.1 MB, free: 2.926 MB / 314.7 MB Notification: Performance of Templates: time 0.1435/0.267, allocations: 27.78 MB / 361.9 MB, free: 91.23 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.4866162659600377]