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.001112/0.001112, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001006/0.001006, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9441/0.9441, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.596e-05/4.883e-05, allocations: 5.266 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007795/0.007844, allocations: 7.705 MB / 280.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.01198, allocations: 2.702 MB / 283.3 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007147/0.0127, allocations: 95.38 kB / 283.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009654/0.01366, allocations: 0.5899 MB / 284 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.01494, allocations: 0.8034 MB / 284.8 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.01555, allocations: 427.4 kB / 285.2 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002319/0.01787, allocations: 3.419 MB / 288.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1434/0.1612, allocations: 1.956 MB / 290.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004366/0.1656, allocations: 2.544 MB / 293.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.1688, allocations: 2.011 MB / 295.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000867/0.1697, allocations: 464.1 kB / 295.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.1709, allocations: 0.655 MB / 296.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.1721, allocations: 1.323 MB / 297.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.1737, allocations: 1.384 MB / 299 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003519/0.1772, allocations: 3.367 MB / 302.3 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1772, allocations: 1.531 kB / 302.3 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1772, allocations: 0.6562 kB / 302.3 MB, free: 14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.006e-05/0.1773, allocations: 2.25 kB / 302.3 MB, free: 14 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: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.004581/0.1819, allocations: 4.053 MB / 306.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/0.1819, allocations: 14.02 kB / 306.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.1831, allocations: 0.6728 MB / 307.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/0.1853, allocations: 1.958 MB / 309 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.1854, allocations: 222 kB / 309.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.1857, allocations: 298.8 kB / 309.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.1885, allocations: 2.492 MB / 312 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.1885, allocations: 0 / 312 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.1887, allocations: 122.3 kB / 312.2 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.1888, allocations: 153.3 kB / 312.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.1906, allocations: 1.022 MB / 313.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007745/0.1984, allocations: 8.351 MB / 321.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.1995, allocations: 0.8703 MB / 322.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.2006, allocations: 0.7894 MB / 323.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.2007, allocations: 52.97 kB / 323.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.2008, allocations: 57.94 kB / 323.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.565e-06/0.2008, allocations: 0 / 323.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.003931/0.2047, allocations: 2.733 MB / 326.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.2047, allocations: 94.42 kB / 326.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.2061, allocations: 1.413 MB / 327.7 MB, free: 9.309 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.2062, allocations: 49.7 kB / 327.7 MB, free: 9.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007132/0.2069, allocations: 1.457 MB / 329.2 MB, free: 7.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.2072, allocations: 488.5 kB / 329.7 MB, free: 7.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.2075, allocations: 293.1 kB / 330 MB, free: 7.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2076, allocations: 476.8 kB / 330.4 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.208, allocations: 231.8 kB / 330.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.2086, allocations: 0.7615 MB / 331.4 MB, free: 5.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.2097, allocations: 1.063 MB / 332.5 MB, free: 4.156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2097, allocations: 4 kB / 332.5 MB, free: 4.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.001817/0.2116, allocations: 1.319 MB / 333.8 MB, free: 2.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2116, allocations: 8 kB / 333.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.2116, allocations: 12 kB / 333.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009792/0.2126, allocations: 380.6 kB / 334.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/0.2133, allocations: 337 kB / 334.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.2161, allocations: 3.331 MB / 337.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005496/0.2166, allocations: 86.8 kB / 337.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.9e-05/0.2167, allocations: 60 kB / 338 MB, free: 14.63 MB / 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.0004696/0.2172, allocations: 246 kB / 338.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.2175, allocations: 230.4 kB / 338.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.2189, allocations: 1.066 MB / 339.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.2189, allocations: 16 kB / 339.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2189, allocations: 4 kB / 339.5 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2189, allocations: 7.984 kB / 339.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004242/0.2232, allocations: 3.484 MB / 343 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2232, allocations: 3.938 kB / 343 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.2237, allocations: 225.5 kB / 343.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009838/0.2247, allocations: 367.6 kB / 343.6 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.069e-05/0.2248, allocations: 31.98 kB / 343.6 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002723/0.2275, allocations: 3.298 MB / 346.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2275, allocations: 0 / 346.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.2295, allocations: 1.54 MB / 348.5 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.23, allocations: 346.7 kB / 348.8 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.2301, allocations: 31.88 kB / 348.9 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/0.2306, allocations: 95.94 kB / 348.9 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.2308, allocations: 104.1 kB / 349 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/0.2308, allocations: 43.98 kB / 349.1 MB, free: 3.367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008976/0.2317, allocations: 0.8185 MB / 349.9 MB, free: 2.551 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2317, allocations: 0 / 349.9 MB, free: 2.551 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001513/0.2333, allocations: 0.5498 MB / 350.5 MB, free: 2.004 MB / 298.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.0005667/0.2338, allocations: 228 kB / 350.7 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.2355, allocations: 1.194 MB / 351.9 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2355, allocations: 0 / 351.9 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009177/0.2365, allocations: 0.7859 MB / 352.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.2376, allocations: 444.8 kB / 353.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007185/0.2448, allocations: 4.896 MB / 358 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/0.2456, allocations: 0.8757 MB / 358.9 MB, free: 9.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007139/0.2463, allocations: 369.3 kB / 359.2 MB, free: 9.184 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.2466, allocations: 128.5 kB / 359.4 MB, free: 9.059 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2466, allocations: 0 / 359.4 MB, free: 9.059 MB / 314.7 MB Notification: Performance of Templates: time 0.03362/0.2802, allocations: 27.62 MB / 387 MB, free: 13.83 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.621292494237423]