Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 81.81 kB / 21.42 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 166.4 kB / 24.82 MB, free: 9.234 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1/1, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.21e-05, allocations: 5.266 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.007027/0.007039, allocations: 9.142 MB / 282.5 MB, free: 8.035 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003991/0.01103, allocations: 2.705 MB / 285.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006092/0.01164, allocations: 87.56 kB / 285.3 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004123/0.01576, allocations: 4.348 MB / 289.6 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.01726, allocations: 0.7954 MB / 290.4 MB, free: 68 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1092/0.1265, allocations: 0.9209 MB / 291.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004389/0.1309, allocations: 4.229 MB / 295.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009784/0.1406, allocations: 7.063 MB / 302.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005056/0.1457, allocations: 3.62 MB / 306.2 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/0.149, allocations: 2.573 MB / 308.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.1502, allocations: 0.6631 MB / 309.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.1516, allocations: 0.8955 MB / 310.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006599/0.1522, allocations: 1.281 MB / 311.7 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.1538, allocations: 1.734 MB / 313.4 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.1575, allocations: 4.423 MB / 317.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1575, allocations: 0 / 317.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1575, allocations: 0 / 317.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.049e-05/0.1575, allocations: 0.5625 kB / 317.8 MB, free: 1.809 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.008547/0.1661, allocations: 5.678 MB / 323.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1661, allocations: 15.98 kB / 323.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006329/0.1725, allocations: 1.723 MB / 325.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.1757, allocations: 2.278 MB / 327.5 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.176, allocations: 345.8 kB / 327.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005729/0.1765, allocations: 464 kB / 328.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004526/0.1811, allocations: 2.43 MB / 330.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-05/0.1811, allocations: 5.578 kB / 330.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/0.1815, allocations: 188.8 kB / 330.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001773/0.1817, allocations: 197.5 kB / 331.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.1846, allocations: 1.316 MB / 332.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/0.2023, allocations: 17.05 MB / 349.5 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.2043, allocations: 1.434 MB / 350.9 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.2046, allocations: 287.7 kB / 351.2 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.2048, allocations: 60.94 kB / 351.3 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.2048, allocations: 46.39 kB / 351.3 MB, free: 1.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 2.865e-06/0.2048, allocations: 0 / 351.3 MB, free: 1.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0009045/0.2057, allocations: 0.6669 MB / 352 MB, free: 380 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.2057, allocations: 60.41 kB / 352 MB, free: 304 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.2073, allocations: 1.538 MB / 353.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.2073, allocations: 41.7 kB / 353.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.2088, allocations: 2.184 MB / 355.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.2091, allocations: 374.8 kB / 356.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006151/0.2097, allocations: 0.5466 MB / 356.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2099, allocations: 0.544 MB / 357.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.2103, allocations: 212.2 kB / 357.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.2115, allocations: 1.936 MB / 359.4 MB, free: 8.547 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.2137, allocations: 2.388 MB / 361.8 MB, free: 5.625 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/0.2137, allocations: 12 kB / 361.8 MB, free: 5.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002251/0.216, allocations: 1.701 MB / 363.5 MB, free: 4.156 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.216, allocations: 27.94 kB / 363.5 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-05/0.216, allocations: 43.98 kB / 363.6 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.008e-05/0.2161, allocations: 52 kB / 363.6 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.2173, allocations: 0.5128 MB / 364.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.202e-05/0.2173, allocations: 77.78 kB / 364.2 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009678/0.2183, allocations: 274.3 kB / 364.5 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.2184, allocations: 108 kB / 364.6 MB, free: 3.129 MB / 314.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.0007797/0.2192, allocations: 314.7 kB / 364.9 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.2194, allocations: 171.1 kB / 365 MB, free: 2.684 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.2205, allocations: 0.8359 MB / 365.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005268/0.221, allocations: 418.5 kB / 366.3 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.221, allocations: 0 / 366.3 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.221, allocations: 7.969 kB / 366.3 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00646/0.2275, allocations: 3.931 MB / 370.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/0.2275, allocations: 16 kB / 370.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.228, allocations: 193.4 kB / 370.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.132e-05/0.228, allocations: 24 kB / 370.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.439e-05/0.2281, allocations: 47.98 kB / 370.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.338e-05/0.2281, allocations: 34.92 kB / 370.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.087e-05/0.2281, allocations: 34.22 kB / 370.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.2297, allocations: 1.706 MB / 372.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.2301, allocations: 225.6 kB / 372.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.2302, allocations: 47.97 kB / 372.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.2307, allocations: 36 kB / 372.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.2308, allocations: 133.3 kB / 372.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/0.2309, allocations: 59.92 kB / 372.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006756/0.2315, allocations: 0.646 MB / 373.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2315, allocations: 4.031 kB / 373.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002387/0.2339, allocations: 0.9569 MB / 374.4 MB, free: 9.133 MB / 330.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.0002914/0.2342, allocations: 206.5 kB / 374.6 MB, free: 8.949 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.2359, allocations: 1.081 MB / 375.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.2359, allocations: 0 / 375.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003833/0.2363, allocations: 302.8 kB / 376 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.2379, allocations: 394.9 kB / 376.3 MB, free: 7.438 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008619/0.2465, allocations: 6.22 MB / 382.6 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.2476, allocations: 1.12 MB / 383.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006998/0.2483, allocations: 233.6 kB / 383.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006216/0.2489, allocations: 398 kB / 384.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2489, allocations: 0 / 384.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of Templates: time 0.03523/0.2841, allocations: 18.32 MB / 402.6 MB, free: 13.13 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0322673129849136]