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.0009084/0.0009084, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.0009743/0.0009743, allocations: 169.3 kB / 24.82 MB, free: 9.324 MB / 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.713e-05, allocations: 6.25 kB / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007668/0.007685, allocations: 7.449 MB / 280.9 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003929/0.01161, allocations: 2.675 MB / 283.5 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/0.01218, allocations: 87.38 kB / 283.6 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.01323, allocations: 0.59 MB / 284.2 MB, free: 6.434 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.01457, allocations: 0.7956 MB / 285 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006299/0.0152, allocations: 435.2 kB / 285.4 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002574/0.01777, allocations: 3.396 MB / 288.8 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1078/0.1256, allocations: 1.954 MB / 290.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003969/0.1296, allocations: 2.911 MB / 293.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.1321, allocations: 1.89 MB / 295.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009832/0.133, allocations: 452.3 kB / 296 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.1341, allocations: 0.6413 MB / 296.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008946/0.135, allocations: 1.265 MB / 297.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.1368, allocations: 1.343 MB / 299.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00308/0.1399, allocations: 3.292 MB / 302.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1399, allocations: 0.5938 kB / 302.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1399, allocations: 0.7812 kB / 302.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.14, allocations: 0.5625 kB / 302.6 MB, free: 14.25 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.003556/0.1435, allocations: 3.877 MB / 306.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1436, allocations: 9.188 kB / 306.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.1449, allocations: 0.6802 MB / 307.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.1465, allocations: 1.873 MB / 309 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.1466, allocations: 222.5 kB / 309.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.1468, allocations: 282.7 kB / 309.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.1487, allocations: 2.29 MB / 311.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.1488, allocations: 3.938 kB / 311.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.1489, allocations: 120.6 kB / 311.9 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.223e-05/0.149, allocations: 140.9 kB / 312 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009645/0.15, allocations: 0.7632 MB / 312.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006493/0.1565, allocations: 8.05 MB / 320.9 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.1571, allocations: 0.811 MB / 321.7 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008418/0.158, allocations: 0.7896 MB / 322.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.1581, allocations: 41.64 kB / 322.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1581, allocations: 54.39 kB / 322.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.425e-06/0.1581, allocations: 0 / 322.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.002697/0.1608, allocations: 2.143 MB / 324.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.1609, allocations: 94.41 kB / 324.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.1619, allocations: 1.342 MB / 326.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.162, allocations: 53.7 kB / 326.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006963/0.1627, allocations: 1.469 MB / 327.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.1629, allocations: 492.6 kB / 328.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.1632, allocations: 289.8 kB / 328.4 MB, free: 9.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.1633, allocations: 476.8 kB / 328.9 MB, free: 9.434 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.1635, allocations: 169.2 kB / 329 MB, free: 9.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.164, allocations: 0.7203 MB / 329.8 MB, free: 8.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.1649, allocations: 0.9582 MB / 330.7 MB, free: 7.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.1649, allocations: 7.938 kB / 330.7 MB, free: 7.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001393/0.1663, allocations: 1.191 MB / 331.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1663, allocations: 11.94 kB / 331.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.1663, allocations: 12 kB / 331.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008575/0.1672, allocations: 379.8 kB / 332.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.1677, allocations: 297.1 kB / 332.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.17, allocations: 3.227 MB / 335.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.1705, allocations: 50.66 kB / 335.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.1706, allocations: 51.98 kB / 335.9 MB, free: 2.141 MB / 282.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 (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.0004361/0.171, allocations: 239.3 kB / 336.2 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.1713, allocations: 233.1 kB / 336.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.1723, allocations: 0.9453 MB / 337.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.1724, allocations: 19.98 kB / 337.4 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1724, allocations: 7.938 kB / 337.4 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.1724, allocations: 7.984 kB / 337.4 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/0.1757, allocations: 3.211 MB / 340.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1757, allocations: 4 kB / 340.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.1762, allocations: 195.7 kB / 340.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007956/0.177, allocations: 363.8 kB / 341.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.177, allocations: 35.98 kB / 341.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.1792, allocations: 3.173 MB / 344.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1792, allocations: 4.031 kB / 344.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.1808, allocations: 1.352 MB / 345.7 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.1811, allocations: 294.7 kB / 346 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.1812, allocations: 27.12 kB / 346 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.1816, allocations: 59.97 kB / 346.1 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.1817, allocations: 104.3 kB / 346.2 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.1818, allocations: 31.92 kB / 346.2 MB, free: 8.152 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005702/0.1823, allocations: 0.7343 MB / 346.9 MB, free: 7.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1823, allocations: 0 / 346.9 MB, free: 7.484 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001091/0.1834, allocations: 0.5351 MB / 347.5 MB, free: 6.949 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (102): * Single equations (assignments): 97 * 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.0003748/0.1838, allocations: 240.1 kB / 347.7 MB, free: 6.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.1849, allocations: 1.083 MB / 348.8 MB, free: 5.691 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1849, allocations: 4 kB / 348.8 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008931/0.1858, allocations: 0.742 MB / 349.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009518/0.1868, allocations: 416.8 kB / 349.9 MB, free: 4.566 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/0.1919, allocations: 4.731 MB / 354.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/0.1926, allocations: 0.8676 MB / 355.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005055/0.1931, allocations: 230 kB / 355.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009579/0.1941, allocations: 493.9 kB / 356.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1941, allocations: 0 / 356.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of Templates: time 0.03426/0.2283, allocations: 27.83 MB / 384.1 MB, free: 2.848 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] 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","",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.2560659060254693]