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.001312/0.001312, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001553/0.001553, allocations: 168.1 kB / 25.7 MB, free: 8.438 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 0.8734/0.8734, allocations: 158.6 MB / 187.6 MB, free: 2.781 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 1.422e-06/1.422e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.793e-05, allocations: 10.19 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00633/0.006348, allocations: 7.395 MB / 258.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.009878, allocations: 2.796 MB / 261.7 MB, free: 13.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.01031, allocations: 75.38 kB / 261.8 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008165/0.01113, allocations: 0.5861 MB / 262.4 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.01228, allocations: 0.7956 MB / 263.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.01285, allocations: 459.1 kB / 263.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.01528, allocations: 3.536 MB / 267.2 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.01675, allocations: 1.895 MB / 269.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.01927, allocations: 2.855 MB / 271.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.02097, allocations: 1.879 MB / 273.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003455/0.02131, allocations: 452 kB / 274.2 MB, free: 416 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006504/0.02196, allocations: 0.648 MB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006768/0.02264, allocations: 1.258 MB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008974/0.02354, allocations: 1.337 MB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.02568, allocations: 3.275 MB / 280.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.02568, allocations: 3.984 kB / 280.8 MB, free: 9.863 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02568, allocations: 0 / 280.8 MB, free: 9.863 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.552e-05/0.02571, allocations: 0 / 280.8 MB, free: 9.863 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.003283/0.02899, allocations: 3.49 MB / 284.2 MB, free: 6.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.02902, allocations: 19.98 kB / 284.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006678/0.02969, allocations: 0.5083 MB / 284.8 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.03098, allocations: 1.196 MB / 286 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.03109, allocations: 222.2 kB / 286.2 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004934/0.03158, allocations: 292.3 kB / 286.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.03369, allocations: 2.349 MB / 288.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.03372, allocations: 0 / 288.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.0339, allocations: 116 kB / 288.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-05/0.034, allocations: 145.9 kB / 289.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.03512, allocations: 0.8255 MB / 289.9 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006826/0.04195, allocations: 6.463 MB / 296.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.0427, allocations: 0.7702 MB / 297.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008585/0.04356, allocations: 0.7539 MB / 297.9 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.04368, allocations: 40.98 kB / 297.9 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.04371, allocations: 51.56 kB / 298 MB, free: 8.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.795e-06/0.04371, allocations: 0 / 298 MB, free: 8.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.0026/0.04631, allocations: 1.915 MB / 299.9 MB, free: 6.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.04635, allocations: 90.42 kB / 300 MB, free: 6.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009986/0.04734, allocations: 1.089 MB / 301.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.04741, allocations: 53.7 kB / 301.1 MB, free: 4.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.04783, allocations: 1.152 MB / 302.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.04804, allocations: 475.8 kB / 302.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.04828, allocations: 247.4 kB / 303 MB, free: 3.113 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.04834, allocations: 301.1 kB / 303.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.04857, allocations: 178.8 kB / 303.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.04894, allocations: 0.5417 MB / 304 MB, free: 1.941 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.04961, allocations: 0.8354 MB / 304.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.04962, allocations: 4 kB / 304.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001186/0.0508, allocations: 0.9724 MB / 305.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.05082, allocations: 8 kB / 305.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.05084, allocations: 12 kB / 305.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.05189, allocations: 365.2 kB / 306.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.05271, allocations: 295.5 kB / 306.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.05548, allocations: 2.544 MB / 309 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/0.05603, allocations: 51.94 kB / 309.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/0.05612, allocations: 47.98 kB / 309.1 MB, free: 12.56 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.0003958/0.05652, allocations: 200.2 kB / 309.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.0568, allocations: 163.6 kB / 309.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.05799, allocations: 0.7991 MB / 310.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.05802, allocations: 19.98 kB / 310.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.05803, allocations: 7.938 kB / 310.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.05804, allocations: 3.984 kB / 310.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/0.06157, allocations: 2.594 MB / 312.9 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.06158, allocations: 4 kB / 312.9 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005775/0.06216, allocations: 187.9 kB / 313.1 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009911/0.06315, allocations: 359.6 kB / 313.4 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/0.06322, allocations: 31.98 kB / 313.5 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.06592, allocations: 2.566 MB / 316 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.06593, allocations: 4 kB / 316 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.06751, allocations: 1.154 MB / 317.2 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/0.06791, allocations: 214.8 kB / 317.4 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.06807, allocations: 28 kB / 317.4 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.06855, allocations: 67.98 kB / 317.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.0687, allocations: 96.75 kB / 317.6 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/0.06877, allocations: 28 kB / 317.6 MB, free: 3.816 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005708/0.06934, allocations: 0.5571 MB / 318.2 MB, free: 3.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06934, allocations: 4 kB / 318.2 MB, free: 3.254 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001184/0.07053, allocations: 0.5428 MB / 318.7 MB, free: 2.711 MB / 298.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.0004158/0.07094, allocations: 210.8 kB / 318.9 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.07227, allocations: 0.9574 MB / 319.9 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-05/0.0723, allocations: 20.5 kB / 319.9 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008496/0.07315, allocations: 0.6485 MB / 320.5 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.07431, allocations: 412.7 kB / 321 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006181/0.08049, allocations: 4.674 MB / 325.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/0.08119, allocations: 0.715 MB / 326.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006058/0.0818, allocations: 222.1 kB / 326.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000869/0.08267, allocations: 443.1 kB / 327 MB, free: 10.29 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.08267, allocations: 0 / 327 MB, free: 10.29 MB / 314.7 MB Notification: Performance of Templates: time 0.1298/0.2125, allocations: 27.72 MB / 354.7 MB, free: 92.2 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.2674490166828036]