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.001394/0.001394, allocations: 92.62 kB / 20.96 MB, free: 3.48 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.00139/0.00139, allocations: 153.4 kB / 24.25 MB, free: 192 kB / 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 1.431/1.431, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.1..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.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.472e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007897/0.007922, allocations: 5.309 MB / 272.6 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.01181, allocations: 1.978 MB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000439/0.01225, allocations: 55.62 kB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.01326, allocations: 393.4 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.01471, allocations: 0.5977 MB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.01515, allocations: 223.7 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002889/0.01804, allocations: 2.298 MB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.01977, allocations: 1.131 MB / 279.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/0.02289, allocations: 1.574 MB / 280.9 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.02468, allocations: 1.091 MB / 282 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004102/0.02509, allocations: 288 kB / 282.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006836/0.02578, allocations: 367.8 kB / 282.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007594/0.02654, allocations: 0.7401 MB / 283.3 MB, free: 6.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.02795, allocations: 0.8498 MB / 284.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004713/0.03266, allocations: 3.837 MB / 288 MB, free: 1.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.03266, allocations: 4 kB / 288 MB, free: 1.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.03266, allocations: 0 / 288 MB, free: 1.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.427e-05/0.03271, allocations: 3.984 kB / 288 MB, free: 1.902 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.1037/0.1364, allocations: 2.335 MB / 290.4 MB, free: 31.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1364, allocations: 8.375 kB / 290.4 MB, free: 31.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000903/0.1373, allocations: 413 kB / 290.8 MB, free: 31.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.1394, allocations: 1.35 MB / 292.1 MB, free: 30.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.1396, allocations: 125.9 kB / 292.3 MB, free: 30.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.1398, allocations: 184.7 kB / 292.4 MB, free: 30.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004936/0.1448, allocations: 2.747 MB / 295.2 MB, free: 29.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.1448, allocations: 2.688 kB / 295.2 MB, free: 29.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.145, allocations: 77 kB / 295.3 MB, free: 29.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.1451, allocations: 98.88 kB / 295.4 MB, free: 29.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/0.1487, allocations: 2.108 MB / 297.5 MB, free: 28.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009073/0.1577, allocations: 6.471 MB / 303.9 MB, free: 24.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.1588, allocations: 0.7125 MB / 304.7 MB, free: 24.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/0.1593, allocations: 451.1 kB / 305.1 MB, free: 23.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.1595, allocations: 36.47 kB / 305.1 MB, free: 23.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1595, allocations: 42.33 kB / 305.2 MB, free: 23.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.974e-06/0.1595, allocations: 0 / 305.2 MB, free: 23.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.003296/0.1628, allocations: 2.158 MB / 307.3 MB, free: 21.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.1628, allocations: 84.23 kB / 307.4 MB, free: 21.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.1642, allocations: 1.347 MB / 308.8 MB, free: 19.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.1642, allocations: 33.7 kB / 308.8 MB, free: 19.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.1646, allocations: 1.017 MB / 309.8 MB, free: 18.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/0.1647, allocations: 202.9 kB / 310 MB, free: 18.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.1649, allocations: 234.8 kB / 310.2 MB, free: 18.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.165, allocations: 357.9 kB / 310.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.1655, allocations: 464.8 kB / 311 MB, free: 17.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007108/0.1662, allocations: 1.119 MB / 312.2 MB, free: 16.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.1675, allocations: 1.617 MB / 313.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.026e-06/0.1675, allocations: 8 kB / 313.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002165/0.1697, allocations: 1.743 MB / 315.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.1697, allocations: 16 kB / 315.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.1697, allocations: 20 kB / 315.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007589/0.1705, allocations: 200.3 kB / 315.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.1712, allocations: 279.5 kB / 316 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.1729, allocations: 2.221 MB / 318.2 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000848/0.1737, allocations: 91.8 kB / 318.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.1738, allocations: 64 kB / 318.4 MB, free: 9.469 MB / 266.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.0007335/0.1746, allocations: 0.7039 MB / 319.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.1748, allocations: 147.2 kB / 319.2 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.1759, allocations: 0.8256 MB / 320.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1759, allocations: 8 kB / 320.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.1759, allocations: 0 / 320.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1759, allocations: 3.984 kB / 320.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.1786, allocations: 2.078 MB / 322.2 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.1786, allocations: 4 kB / 322.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.179, allocations: 103.8 kB / 322.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006683/0.1797, allocations: 157 kB / 322.4 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.1797, allocations: 16 kB / 322.4 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.1812, allocations: 2.177 MB / 324.6 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1812, allocations: 4.031 kB / 324.6 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.1828, allocations: 1.331 MB / 326 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.1832, allocations: 197.5 kB / 326.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.1833, allocations: 12 kB / 326.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005392/0.1838, allocations: 43.95 kB / 326.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.184, allocations: 55.8 kB / 326.3 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.184, allocations: 24.06 kB / 326.3 MB, free: 1.359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000964/0.185, allocations: 0.895 MB / 327.2 MB, free: 468 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.185, allocations: 0 / 327.2 MB, free: 468 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001287/0.1862, allocations: 351.9 kB / 327.5 MB, free: 116 kB / 266.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.0004925/0.1867, allocations: 175.8 kB / 327.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.189, allocations: 1.125 MB / 328.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.189, allocations: 0 / 328.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009448/0.19, allocations: 0.5004 MB / 329.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.1914, allocations: 274.4 kB / 329.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.1976, allocations: 3.222 MB / 332.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/0.1991, allocations: 1.128 MB / 333.9 MB, free: 9.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009076/0.2, allocations: 293.8 kB / 334.2 MB, free: 9.285 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.2003, allocations: 80.48 kB / 334.3 MB, free: 9.207 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2003, allocations: 0 / 334.3 MB, free: 9.207 MB / 282.7 MB Notification: Performance of Templates: time 0.03301/0.2333, allocations: 15.68 MB / 350 MB, free: 9.84 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.761914293048903]