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.0007868/0.0007868, allocations: 84 kB / 21.43 MB, free: 3.129 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.003027/0.003027, allocations: 144.4 kB / 24.68 MB, free: 9.426 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.834/0.834, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.714e-06/1.714e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.334e-05, allocations: 9.453 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.00644/0.006464, allocations: 8.505 MB / 328.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004193/0.01066, allocations: 2.592 MB / 330.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008225/0.01148, allocations: 95.56 kB / 330.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003926/0.01541, allocations: 4.125 MB / 335 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.01796, allocations: 0.9349 MB / 336 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.01924, allocations: 0.8015 MB / 336.8 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.02225, allocations: 4.232 MB / 341 MB, free: 480 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005898/0.02815, allocations: 7.051 MB / 348 MB, free: 9.293 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.03107, allocations: 3.592 MB / 351.6 MB, free: 5.695 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.03295, allocations: 2.281 MB / 353.9 MB, free: 3.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004927/0.03344, allocations: 0.6641 MB / 354.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009737/0.03442, allocations: 0.8669 MB / 355.4 MB, free: 1.879 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.03506, allocations: 1.258 MB / 356.7 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.0362, allocations: 1.708 MB / 358.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005236/0.04143, allocations: 8.991 MB / 367.4 MB, free: 5.891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.04143, allocations: 4 kB / 367.4 MB, free: 5.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.04144, allocations: 0 / 367.4 MB, free: 5.887 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.395e-05/0.04153, allocations: 0 / 367.4 MB, free: 5.887 MB / 330.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.007077/0.04861, allocations: 5.288 MB / 372.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.04865, allocations: 8.031 kB / 372.7 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003507/0.05216, allocations: 1.313 MB / 374 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.05499, allocations: 2.609 MB / 376.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.05516, allocations: 345.8 kB / 377 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/0.05559, allocations: 456.4 kB / 377.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007007/0.06259, allocations: 6.123 MB / 383.5 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.771e-05/0.06266, allocations: 3.953 kB / 383.5 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/0.06295, allocations: 192 kB / 383.7 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.06308, allocations: 193.5 kB / 383.9 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005706/0.06878, allocations: 5.253 MB / 389.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01643/0.08521, allocations: 17.76 MB / 406.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/0.08803, allocations: 2.07 MB / 409 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.08863, allocations: 0.6001 MB / 409.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.704e-05/0.08872, allocations: 28.91 kB / 409.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.08875, allocations: 47.5 kB / 409.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=94): time 3.046e-06/0.08875, allocations: 4 kB / 409.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.001565/0.09031, allocations: 1.425 MB / 411.1 MB, free: 9.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.09035, allocations: 60.41 kB / 411.2 MB, free: 9.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.09165, allocations: 1.527 MB / 412.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.09169, allocations: 41.7 kB / 412.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008037/0.09249, allocations: 2.037 MB / 414.8 MB, free: 5.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.0927, allocations: 361.1 kB / 415.1 MB, free: 5.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006168/0.09331, allocations: 467.9 kB / 415.6 MB, free: 4.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.09341, allocations: 353.9 kB / 415.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007264/0.09414, allocations: 0.8124 MB / 416.7 MB, free: 3.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.09531, allocations: 1.945 MB / 418.7 MB, free: 1.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.09775, allocations: 2.916 MB / 421.6 MB, free: 13.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.22e-05/0.09777, allocations: 12 kB / 421.6 MB, free: 13.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003634/0.1014, allocations: 2.801 MB / 424.4 MB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.1014, allocations: 23.98 kB / 424.4 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.893e-05/0.1015, allocations: 40 kB / 424.5 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.463e-05/0.1015, allocations: 52 kB / 424.5 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.1029, allocations: 0.5348 MB / 425 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.867e-05/0.1029, allocations: 79.66 kB / 425.1 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.104, allocations: 305.9 kB / 425.4 MB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.1041, allocations: 120 kB / 425.5 MB, free: 9.836 MB / 394.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.001866/0.1059, allocations: 1.668 MB / 427.2 MB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.1061, allocations: 143 kB / 427.3 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.1077, allocations: 1.338 MB / 428.7 MB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007978/0.1085, allocations: 0.9319 MB / 429.6 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1085, allocations: 0 / 429.6 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1085, allocations: 3.984 kB / 429.6 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00913/0.1176, allocations: 10.08 MB / 439.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.1176, allocations: 20 kB / 439.7 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.118, allocations: 211.6 kB / 439.9 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.737e-05/0.118, allocations: 32.02 kB / 440 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.118, allocations: 44 kB / 440 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.627e-05/0.1181, allocations: 35.86 kB / 440 MB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/0.1181, allocations: 27.88 kB / 440.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.12, allocations: 2.42 MB / 442.5 MB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000606/0.1206, allocations: 254.8 kB / 442.7 MB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.1207, allocations: 43.98 kB / 442.8 MB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.121, allocations: 68.02 kB / 442.8 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/0.1211, allocations: 127.4 kB / 443 MB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.1212, allocations: 63.92 kB / 443 MB, free: 7.711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008397/0.122, allocations: 0.9875 MB / 444 MB, free: 6.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.122, allocations: 0 / 444 MB, free: 6.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001933/0.124, allocations: 0.953 MB / 445 MB, free: 5.762 MB / 410.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.0002729/0.1242, allocations: 214.6 kB / 445.2 MB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.1259, allocations: 1.794 MB / 447 MB, free: 3.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1259, allocations: 0 / 447 MB, free: 3.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.1264, allocations: 0.5634 MB / 447.5 MB, free: 3.191 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.1275, allocations: 379.8 kB / 447.9 MB, free: 2.828 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.128/0.2555, allocations: 6.766 MB / 454.7 MB, free: 116.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.2568, allocations: 2.448 MB / 457.1 MB, free: 116.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.2571, allocations: 137.5 kB / 457.3 MB, free: 116.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2571, allocations: 0 / 457.3 MB, free: 116.3 MB / 410.7 MB Notification: Performance of Templates: time 0.02042/0.2775, allocations: 40.06 MB / 497.3 MB, free: 79.56 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.950489432550967]