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.001136/0.001136, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001837/0.002973, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001187/0.001187, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001652/0.002838, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9364/0.9364, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1285/1.065, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.303e-06/1.303e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.876e-05, allocations: 4.984 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006313/0.006332, allocations: 7.557 MB / 252.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004604/0.01094, allocations: 2.803 MB / 254.9 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009915/0.01193, allocations: 87.38 kB / 255 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.0133, allocations: 0.5936 MB / 255.6 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.01505, allocations: 0.7995 MB / 256.4 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.01576, allocations: 423.3 kB / 256.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002605/0.01837, allocations: 3.435 MB / 260.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.0201, allocations: 1.992 MB / 262.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.0237, allocations: 3.062 MB / 265.3 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.02581, allocations: 1.875 MB / 267.1 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006177/0.02643, allocations: 452 kB / 267.6 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.02746, allocations: 0.6479 MB / 268.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007257/0.02818, allocations: 1.037 MB / 269.3 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.02956, allocations: 1.104 MB / 270.4 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003376/0.03294, allocations: 3.092 MB / 273.5 MB, free: 1.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.972e-05/0.03296, allocations: 0 / 273.5 MB, free: 1.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.03296, allocations: 0 / 273.5 MB, free: 1.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001696/0.03313, allocations: 0 / 273.5 MB, free: 1.23 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.1115/0.1447, allocations: 4.204 MB / 277.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1447, allocations: 9.156 kB / 277.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.146, allocations: 0.6263 MB / 278.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.1481, allocations: 1.379 MB / 279.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.1483, allocations: 218.5 kB / 279.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.1486, allocations: 290.6 kB / 280.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/0.1515, allocations: 2.355 MB / 282.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.1515, allocations: 3.938 kB / 282.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.1517, allocations: 120.8 kB / 282.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.1518, allocations: 140.2 kB / 282.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.1533, allocations: 0.8205 MB / 283.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007591/0.1609, allocations: 6.489 MB / 290.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/0.1616, allocations: 0.7736 MB / 290.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008064/0.1624, allocations: 0.744 MB / 291.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.1626, allocations: 48.38 kB / 291.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1626, allocations: 49.56 kB / 291.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.757e-06/0.1626, allocations: 0 / 291.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002695/0.1653, allocations: 1.908 MB / 293.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.1653, allocations: 68.12 kB / 293.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.166, allocations: 1.103 MB / 294.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.166, allocations: 45.7 kB / 294.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.1663, allocations: 1.15 MB / 296 MB, free: 8.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.1665, allocations: 473.9 kB / 296.5 MB, free: 7.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.1667, allocations: 251.2 kB / 296.7 MB, free: 7.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.435e-05/0.1667, allocations: 313.1 kB / 297 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.1669, allocations: 170.8 kB / 297.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.1671, allocations: 0.5345 MB / 297.7 MB, free: 6.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.1677, allocations: 0.8203 MB / 298.5 MB, free: 5.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.1677, allocations: 8 kB / 298.5 MB, free: 5.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0009722/0.1687, allocations: 0.9594 MB / 299.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1687, allocations: 8 kB / 299.5 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.1687, allocations: 19.92 kB / 299.5 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007537/0.1695, allocations: 365.3 kB / 299.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/0.1701, allocations: 358.4 kB / 300.2 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.1718, allocations: 2.565 MB / 302.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.1723, allocations: 55.88 kB / 302.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.1724, allocations: 48 kB / 302.9 MB, free: 1.184 MB / 266.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.0003811/0.1727, allocations: 203 kB / 303.1 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.1729, allocations: 159.3 kB / 303.2 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007884/0.1737, allocations: 0.8046 MB / 304.1 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.1737, allocations: 19.98 kB / 304.1 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1738, allocations: 4 kB / 304.1 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.1738, allocations: 7.922 kB / 304.1 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.1766, allocations: 2.576 MB / 306.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.1766, allocations: 4.031 kB / 306.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005333/0.1771, allocations: 238.4 kB / 306.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.1774, allocations: 218.8 kB / 307.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007566/0.1782, allocations: 357.5 kB / 307.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.1782, allocations: 31.98 kB / 307.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.1803, allocations: 2.586 MB / 310.1 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1803, allocations: 3.984 kB / 310.1 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.1816, allocations: 1.153 MB / 311.2 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.1817, allocations: 27.52 kB / 311.3 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.182, allocations: 59.95 kB / 311.3 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.1822, allocations: 88.83 kB / 311.4 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.1822, allocations: 30.28 kB / 311.4 MB, free: 8.965 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004547/0.1827, allocations: 0.5634 MB / 312 MB, free: 8.465 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1827, allocations: 0 / 312 MB, free: 8.465 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001165/0.1839, allocations: 0.535 MB / 312.5 MB, free: 7.93 MB / 282.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.0004283/0.1843, allocations: 214.8 kB / 312.7 MB, free: 7.734 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.1854, allocations: 0.9597 MB / 313.7 MB, free: 6.824 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.266e-05/0.1855, allocations: 37.05 kB / 313.7 MB, free: 6.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.1861, allocations: 0.635 MB / 314.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000958/0.187, allocations: 0.5338 MB / 314.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.2012, allocations: 5.023 MB / 319.9 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.2018, allocations: 0.7276 MB / 320.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007934/0.2026, allocations: 222.1 kB / 320.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007318/0.2033, allocations: 447 kB / 321.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2033, allocations: 0 / 321.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of Templates: time 0.04217/0.2455, allocations: 29.13 MB / 350.4 MB, free: 2.566 MB / 314.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 -ignoreHideResult -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.3882127786055207]