Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 80.72 kB / 22.21 MB, free: 2.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 148.3 kB / 25.6 MB, free: 8.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9415/0.9415, allocations: 173.4 MB / 202.2 MB, free: 8.316 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.216e-05, allocations: 3.031 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004893/0.004915, allocations: 5.73 MB / 274.9 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.007128, allocations: 2.033 MB / 277 MB, free: 2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.00743, allocations: 51.69 kB / 277 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.008028, allocations: 393.8 kB / 277.4 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008169/0.008845, allocations: 0.6132 MB / 278 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.009082, allocations: 211.7 kB / 278.2 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.01051, allocations: 2.298 MB / 280.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009796/0.01149, allocations: 1.139 MB / 281.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.01295, allocations: 1.611 MB / 283.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.01399, allocations: 1.204 MB / 284.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.01423, allocations: 288 kB / 284.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003714/0.01461, allocations: 367.8 kB / 285.1 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000404/0.01501, allocations: 0.7402 MB / 285.9 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006379/0.01565, allocations: 0.8654 MB / 286.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.01707, allocations: 2.033 MB / 288.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.01707, allocations: 0 / 288.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01707, allocations: 0 / 288.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.01709, allocations: 4 kB / 288.8 MB, free: 6.148 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.002394/0.01949, allocations: 2.491 MB / 291.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.01952, allocations: 8.031 kB / 291.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005275/0.02004, allocations: 415.4 kB / 291.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.02108, allocations: 1.111 MB / 292.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.02114, allocations: 123.9 kB / 292.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.02131, allocations: 184.4 kB / 293.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.02271, allocations: 1.466 MB / 294.5 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.02273, allocations: 0 / 294.5 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.02283, allocations: 72 kB / 294.6 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.559e-05/0.0229, allocations: 91.58 kB / 294.7 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000689/0.02359, allocations: 484.8 kB / 295.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/0.02891, allocations: 5.924 MB / 301.1 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.02937, allocations: 380.7 kB / 301.5 MB, free: 9.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.02959, allocations: 181.8 kB / 301.6 MB, free: 8.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.02969, allocations: 32.42 kB / 301.7 MB, free: 8.809 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.02972, allocations: 45.88 kB / 301.7 MB, free: 8.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=52): time 1.783e-06/0.02972, allocations: 4 kB / 301.7 MB, free: 8.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=53): time 0.001371/0.03109, allocations: 0.9939 MB / 302.7 MB, free: 7.719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.03113, allocations: 81.61 kB / 302.8 MB, free: 7.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009035/0.03204, allocations: 1.144 MB / 303.9 MB, free: 6.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.03207, allocations: 33.7 kB / 304 MB, free: 6.422 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005332/0.0326, allocations: 1.117 MB / 305.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.03271, allocations: 210.3 kB / 305.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.03293, allocations: 268.3 kB / 305.6 MB, free: 4.812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.0331, allocations: 0.555 MB / 306.1 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.03324, allocations: 98.64 kB / 306.2 MB, free: 4.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.03379, allocations: 1.081 MB / 307.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000803/0.03459, allocations: 1.286 MB / 308.6 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.0346, allocations: 8 kB / 308.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001058/0.03566, allocations: 1.012 MB / 309.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.03568, allocations: 18.03 kB / 309.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.0357, allocations: 20 kB / 309.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.03606, allocations: 159.9 kB / 309.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.03652, allocations: 279.5 kB / 310.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.03775, allocations: 2.321 MB / 312.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.03817, allocations: 83.83 kB / 312.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.03823, allocations: 56 kB / 312.5 MB, free: 12.85 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002615/0.03849, allocations: 248 kB / 312.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.03863, allocations: 151.2 kB / 312.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.0391, allocations: 420.5 kB / 313.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.03911, allocations: 7.938 kB / 313.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.03911, allocations: 4 kB / 313.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.03912, allocations: 3.984 kB / 313.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.04133, allocations: 1.857 MB / 315.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.04133, allocations: 4 kB / 315.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.04159, allocations: 83.89 kB / 315.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003964/0.04198, allocations: 127.8 kB / 315.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.04201, allocations: 19.98 kB / 315.4 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.04339, allocations: 2.28 MB / 317.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.04339, allocations: 0 / 317.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/0.04423, allocations: 0.7555 MB / 318.5 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.04449, allocations: 167.2 kB / 318.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.0446, allocations: 15.98 kB / 318.6 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.04497, allocations: 48.03 kB / 318.7 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.04505, allocations: 47.8 kB / 318.7 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.04508, allocations: 16 kB / 318.7 MB, free: 6.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005838/0.04566, allocations: 0.5941 MB / 319.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04566, allocations: 0 / 319.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00102/0.04668, allocations: 347.9 kB / 319.7 MB, free: 5.383 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003335/0.04701, allocations: 189.5 kB / 319.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008925/0.04791, allocations: 0.7295 MB / 320.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.04791, allocations: 4 kB / 320.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.04829, allocations: 383.1 kB / 321 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.04934, allocations: 268.3 kB / 321.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.05299, allocations: 2.779 MB / 324 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.05346, allocations: 0.5246 MB / 324.5 MB, free: 372 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004034/0.05386, allocations: 154 kB / 324.7 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005664/0.05443, allocations: 358 kB / 325 MB, free: 15.86 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.05443, allocations: 4 kB / 325 MB, free: 15.86 MB / 314.7 MB Notification: Performance of Templates: time 0.0257/0.08013, allocations: 17.07 MB / 342.1 MB, free: 15.06 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.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.2130464841611683]