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.001441/0.001441, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001583/0.001583, allocations: 156.9 kB / 24.26 MB, free: 152 kB / 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.456/1.456, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 2.064e-06/2.064e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.787e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01197/0.01199, allocations: 8.534 MB / 280.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005948/0.01794, allocations: 2.662 MB / 283.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.01902, allocations: 91.56 kB / 283.5 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.0291, allocations: 4.118 MB / 287.6 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.03217, allocations: 0.8033 MB / 288.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.03451, allocations: 0.9305 MB / 289.3 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1221/0.1566, allocations: 4.216 MB / 293.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.1667, allocations: 7.064 MB / 300.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006159/0.1729, allocations: 3.589 MB / 304.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/0.1763, allocations: 2.274 MB / 306.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009183/0.1772, allocations: 0.6636 MB / 307.1 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.1787, allocations: 0.8936 MB / 308 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007199/0.1794, allocations: 1.261 MB / 309.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001809/0.1813, allocations: 1.707 MB / 311 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006152/0.1874, allocations: 9.026 MB / 320 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1874, allocations: 0 / 320 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1874, allocations: 0 / 320 MB, free: 15.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001315/0.1875, allocations: 0 / 320 MB, free: 15.04 MB / 282.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.01339/0.2009, allocations: 5.286 MB / 325.3 MB, free: 9.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.201, allocations: 11.98 kB / 325.3 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008759/0.2097, allocations: 1.852 MB / 327.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005924/0.2157, allocations: 2.705 MB / 329.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003907/0.2161, allocations: 345.8 kB / 330.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.2172, allocations: 455.7 kB / 330.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.2317, allocations: 6.13 MB / 336.8 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.2318, allocations: 7.938 kB / 336.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009274/0.2327, allocations: 192.4 kB / 337 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002626/0.233, allocations: 193.5 kB / 337.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.2455, allocations: 5.268 MB / 342.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0344/0.2799, allocations: 18.36 MB / 360.8 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005639/0.2855, allocations: 2.092 MB / 362.9 MB, free: 4.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.2867, allocations: 0.5962 MB / 363.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.2868, allocations: 44.95 kB / 363.5 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.2869, allocations: 46.38 kB / 363.6 MB, free: 3.465 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 2.935e-06/0.2869, allocations: 4 kB / 363.6 MB, free: 3.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.002717/0.2896, allocations: 1.472 MB / 365.1 MB, free: 1.988 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.2896, allocations: 64.39 kB / 365.1 MB, free: 1.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002956/0.2926, allocations: 1.527 MB / 366.7 MB, free: 380 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.2927, allocations: 41.7 kB / 366.7 MB, free: 332 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/0.2945, allocations: 2.033 MB / 368.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000389/0.2949, allocations: 361.3 kB / 369.1 MB, free: 13.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007687/0.2956, allocations: 475.8 kB / 369.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.2958, allocations: 353.9 kB / 369.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.2973, allocations: 0.8124 MB / 370.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/0.2998, allocations: 1.936 MB / 372.6 MB, free: 9.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00417/0.304, allocations: 2.927 MB / 375.6 MB, free: 6.504 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.21e-05/0.304, allocations: 12 kB / 375.6 MB, free: 6.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005207/0.3092, allocations: 2.92 MB / 378.5 MB, free: 3.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.235e-05/0.3093, allocations: 32.19 kB / 378.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.66e-05/0.3094, allocations: 40 kB / 378.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001106/0.3095, allocations: 55.98 kB / 378.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.3113, allocations: 0.5317 MB / 379.2 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.415e-05/0.3114, allocations: 81.03 kB / 379.2 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.3129, allocations: 294 kB / 379.5 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.3132, allocations: 132 kB / 379.7 MB, free: 2.719 MB / 330.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.002908/0.3161, allocations: 1.665 MB / 381.3 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/0.3164, allocations: 167.1 kB / 381.5 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.319, allocations: 1.349 MB / 382.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001609/0.3207, allocations: 0.9397 MB / 383.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.3207, allocations: 0 / 383.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.3207, allocations: 3.984 kB / 383.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/0.3405, allocations: 10.18 MB / 394 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.408e-05/0.3406, allocations: 20 kB / 394 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/0.3415, allocations: 210.2 kB / 394.2 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-05/0.3415, allocations: 32.02 kB / 394.2 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.3416, allocations: 47.66 kB / 394.3 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.583e-05/0.3417, allocations: 35.2 kB / 394.3 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.273e-05/0.3417, allocations: 31.31 kB / 394.3 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00385/0.3456, allocations: 2.458 MB / 396.8 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007098/0.3463, allocations: 262.7 kB / 397 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/0.3466, allocations: 43.98 kB / 397.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.3475, allocations: 68 kB / 397.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.3477, allocations: 137.2 kB / 397.3 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.3478, allocations: 55.98 kB / 397.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001953/0.3498, allocations: 0.9914 MB / 398.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3498, allocations: 0 / 398.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003214/0.353, allocations: 0.9492 MB / 399.3 MB, free: 14.73 MB / 362.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.0004521/0.3534, allocations: 206.8 kB / 399.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003332/0.3568, allocations: 1.799 MB / 401.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/0.3568, allocations: 4 kB / 401.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.3579, allocations: 0.5574 MB / 401.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/0.3604, allocations: 387.2 kB / 402.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.3747, allocations: 6.953 MB / 409.2 MB, free: 4.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004096/0.3788, allocations: 2.533 MB / 411.7 MB, free: 2.223 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002237/0.381, allocations: 0.8131 MB / 412.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.3814, allocations: 120.5 kB / 412.6 MB, free: 1.285 MB / 362.7 MB Notification: Performance of SimCode: time 1.723e-06/0.3814, allocations: 0 / 412.6 MB, free: 1.285 MB / 362.7 MB Notification: Performance of Templates: time 0.03699/0.4184, allocations: 16.92 MB / 429.6 MB, free: 0.6758 MB / 378.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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: 5.193237825995311]