Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.0007651/0.0007651, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008403/0.0008403, allocations: 148.2 kB / 24.9 MB, free: 9.156 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.8927/0.8927, allocations: 173.4 MB / 201.5 MB, free: 9.223 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.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 268.5 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.451e-05, allocations: 2.312 kB / 268.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.007308/0.007322, allocations: 9.135 MB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0043/0.01162, allocations: 2.79 MB / 280.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007375/0.01236, allocations: 91.56 kB / 280.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004266/0.01663, allocations: 4.484 MB / 285 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.0182, allocations: 0.9587 MB / 285.9 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.01921, allocations: 0.8197 MB / 286.7 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.103/0.1222, allocations: 4.216 MB / 291 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007574/0.1298, allocations: 7.286 MB / 298.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003948/0.1338, allocations: 3.632 MB / 301.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002817/0.1366, allocations: 2.629 MB / 304.5 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.1376, allocations: 0.6623 MB / 305.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009817/0.1386, allocations: 0.8727 MB / 306 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005397/0.1391, allocations: 1.287 MB / 307.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.1401, allocations: 1.725 MB / 309.1 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.1425, allocations: 4.405 MB / 313.5 MB, free: 7.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1425, allocations: 0 / 313.5 MB, free: 7.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1425, allocations: 3.5 kB / 313.5 MB, free: 7.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.931e-05/0.1425, allocations: 0 / 313.5 MB, free: 7.918 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.004921/0.1475, allocations: 5.205 MB / 318.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.1475, allocations: 8.906 kB / 318.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/0.1511, allocations: 1.727 MB / 320.4 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.1526, allocations: 1.358 MB / 321.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.1527, allocations: 345.8 kB / 322.1 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/0.153, allocations: 456.6 kB / 322.5 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/0.1564, allocations: 2.989 MB / 325.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.871e-05/0.1564, allocations: 18.5 kB / 325.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/0.1567, allocations: 184.7 kB / 325.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.1568, allocations: 201.5 kB / 325.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.1585, allocations: 1.129 MB / 327.1 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.1704, allocations: 13.18 MB / 340.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.1722, allocations: 1.345 MB / 341.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.1725, allocations: 257.4 kB / 341.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.886e-05/0.1726, allocations: 32.97 kB / 341.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1726, allocations: 47.56 kB / 341.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 2.405e-06/0.1726, allocations: 0 / 341.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0005733/0.1732, allocations: 478.3 kB / 342.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.1732, allocations: 68.25 kB / 342.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/0.1738, allocations: 1.035 MB / 343.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.1739, allocations: 41.7 kB / 343.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006932/0.1746, allocations: 1.952 MB / 345.5 MB, free: 9.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004027/0.175, allocations: 354.5 kB / 345.8 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/0.1753, allocations: 438.1 kB / 346.3 MB, free: 9.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.1754, allocations: 352 kB / 346.6 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.1757, allocations: 299.5 kB / 346.9 MB, free: 8.496 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/0.1764, allocations: 1.326 MB / 348.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.1775, allocations: 1.811 MB / 350 MB, free: 4.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.1775, allocations: 12 kB / 350 MB, free: 4.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001263/0.1788, allocations: 1.394 MB / 351.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.1788, allocations: 24.97 kB / 351.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.1788, allocations: 47.41 kB / 351.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.678e-05/0.1789, allocations: 59.94 kB / 351.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/0.1797, allocations: 0.5097 MB / 352.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.741e-05/0.1797, allocations: 81.03 kB / 352.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006021/0.1803, allocations: 270 kB / 352.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.1804, allocations: 104 kB / 352.5 MB, free: 2.367 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006361/0.1811, allocations: 285.6 kB / 352.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1812, allocations: 99.91 kB / 352.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/0.1818, allocations: 0.688 MB / 353.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002676/0.1821, allocations: 296.5 kB / 353.9 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1821, allocations: 4 kB / 353.9 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1821, allocations: 3.984 kB / 353.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/0.186, allocations: 3.367 MB / 357.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.186, allocations: 27.92 kB / 357.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.1863, allocations: 185.5 kB / 357.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.1864, allocations: 24 kB / 357.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.1864, allocations: 40 kB / 357.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-05/0.1864, allocations: 42.91 kB / 357.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.1864, allocations: 30.88 kB / 357.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009371/0.1874, allocations: 1.41 MB / 359 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.1876, allocations: 187.5 kB / 359.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.096e-05/0.1877, allocations: 43.98 kB / 359.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.188, allocations: 39.98 kB / 359.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.188, allocations: 125.7 kB / 359.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.1881, allocations: 48 kB / 359.4 MB, free: 11.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005677/0.1887, allocations: 438.1 kB / 359.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1887, allocations: 0 / 359.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001359/0.19, allocations: 0.9608 MB / 360.8 MB, free: 9.969 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002211/0.1902, allocations: 193.2 kB / 361 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007723/0.191, allocations: 0.9389 MB / 362 MB, free: 9.016 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.567e-05/0.1911, allocations: 31.84 kB / 362 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.1913, allocations: 287.1 kB / 362.3 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.1924, allocations: 389.4 kB / 362.6 MB, free: 8.414 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006101/0.1985, allocations: 6.096 MB / 368.7 MB, free: 2.066 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.1991, allocations: 0.7858 MB / 369.5 MB, free: 1.254 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004889/0.1996, allocations: 237.6 kB / 369.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/0.2001, allocations: 345.1 kB / 370.1 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2001, allocations: 4 kB / 370.1 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of Templates: time 0.02492/0.225, allocations: 18.43 MB / 388.5 MB, free: 14.59 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.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: 2.7980618961155415]