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.001483/0.001483, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001538/0.001538, allocations: 157.7 kB / 24.26 MB, free: 172 kB / 18.57 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.467/1.467, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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 1.613e-06/1.613e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.638e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01056/0.01059, allocations: 6.921 MB / 279.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006974/0.01756, allocations: 2.613 MB / 281.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.01925, allocations: 95.31 kB / 282 MB, free: 8.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.02138, allocations: 0.5742 MB / 282.5 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.02444, allocations: 0.8034 MB / 283.3 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.02591, allocations: 435.2 kB / 283.8 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004951/0.03086, allocations: 3.396 MB / 287.2 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003756/0.03461, allocations: 1.953 MB / 289.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1167/0.1513, allocations: 2.488 MB / 291.6 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.1545, allocations: 1.829 MB / 293.4 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009266/0.1555, allocations: 460.7 kB / 293.9 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.1569, allocations: 0.656 MB / 294.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.1581, allocations: 1.289 MB / 295.8 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.1601, allocations: 1.356 MB / 297.2 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005441/0.1655, allocations: 6.21 MB / 303.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1655, allocations: 0 / 303.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1655, allocations: 0 / 303.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001225/0.1657, allocations: 0.625 kB / 303.4 MB, free: 14.2 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.007413/0.1731, allocations: 3.778 MB / 307.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1731, allocations: 11.28 kB / 307.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.1748, allocations: 0.6826 MB / 307.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003539/0.1783, allocations: 2.201 MB / 310.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.1784, allocations: 228.9 kB / 310.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004503/0.1789, allocations: 297.5 kB / 310.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007108/0.186, allocations: 4.445 MB / 315 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.533e-05/0.186, allocations: 3.938 kB / 315 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.1863, allocations: 119.8 kB / 315.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.1864, allocations: 137.9 kB / 315.3 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005997/0.1924, allocations: 3.486 MB / 318.8 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/0.2127, allocations: 9.415 MB / 328.2 MB, free: 9.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.2155, allocations: 1.651 MB / 329.8 MB, free: 7.602 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002993/0.2185, allocations: 1.405 MB / 331.2 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.2187, allocations: 56.95 kB / 331.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.2188, allocations: 47.56 kB / 331.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 4.108e-06/0.2188, allocations: 0 / 331.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.01072/0.2295, allocations: 5.169 MB / 336.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.2296, allocations: 90.42 kB / 336.6 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003146/0.2328, allocations: 1.725 MB / 338.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.2329, allocations: 45.7 kB / 338.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.2341, allocations: 1.374 MB / 339.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000503/0.2346, allocations: 467.1 kB / 340.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000511/0.2352, allocations: 271.5 kB / 340.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2353, allocations: 305.1 kB / 340.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.2368, allocations: 0.8198 MB / 341.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.2386, allocations: 1.203 MB / 342.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003541/0.2422, allocations: 2.084 MB / 344.9 MB, free: 8.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.2422, allocations: 4 kB / 344.9 MB, free: 8.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005151/0.2473, allocations: 2.577 MB / 347.4 MB, free: 5.758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.2473, allocations: 19.94 kB / 347.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.2474, allocations: 8 kB / 347.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002324/0.2497, allocations: 0.495 MB / 348 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.2511, allocations: 330.1 kB / 348.3 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006816/0.258, allocations: 4.25 MB / 352.5 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.2596, allocations: 83.92 kB / 352.6 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/0.2598, allocations: 59.98 kB / 352.7 MB, free: 480 kB / 298.7 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.002217/0.2621, allocations: 1.045 MB / 353.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007659/0.2628, allocations: 229.5 kB / 353.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/0.2672, allocations: 2.126 MB / 356.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.513e-05/0.2672, allocations: 19.94 kB / 356.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2672, allocations: 4 kB / 356.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.2672, allocations: 7.984 kB / 356.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.2774, allocations: 4.477 MB / 360.6 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.2774, allocations: 4.219 kB / 360.6 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.2785, allocations: 225.9 kB / 360.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002261/0.2808, allocations: 476.5 kB / 361.3 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.2809, allocations: 43.86 kB / 361.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006095/0.287, allocations: 4.133 MB / 365.4 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.287, allocations: 8.062 kB / 365.5 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006189/0.2932, allocations: 3.268 MB / 368.7 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.2943, allocations: 370.7 kB / 369.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.2945, allocations: 35.98 kB / 369.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.2955, allocations: 99.91 kB / 369.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/0.2958, allocations: 100.4 kB / 369.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.2959, allocations: 43.98 kB / 369.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002004/0.2979, allocations: 1.19 MB / 370.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2979, allocations: 0 / 370.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002009/0.2999, allocations: 0.5535 MB / 371.1 MB, free: 13.95 MB / 330.7 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.0006178/0.3006, allocations: 226.9 kB / 371.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003969/0.3045, allocations: 2.115 MB / 373.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.3045, allocations: 7.938 kB / 373.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002367/0.3069, allocations: 1.161 MB / 374.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.3091, allocations: 447.3 kB / 375 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.32, allocations: 5.816 MB / 380.9 MB, free: 4.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002892/0.3229, allocations: 1.864 MB / 382.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001781/0.3247, allocations: 477.8 kB / 383.2 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004667/0.3251, allocations: 120.5 kB / 383.3 MB, free: 1.703 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3251, allocations: 0 / 383.3 MB, free: 1.703 MB / 330.7 MB Notification: Performance of Templates: time 0.05236/0.3775, allocations: 27.61 MB / 410.9 MB, free: 6.508 MB / 362.7 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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.268921611015685]