Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.033/1.033, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.905e-05, allocations: 2.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009881/0.00991, allocations: 9.469 MB / 282.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005633/0.01554, allocations: 2.713 MB / 285.2 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009713/0.01651, allocations: 91.56 kB / 285.3 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00461/0.02112, allocations: 4.473 MB / 289.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1222/0.1433, allocations: 0.7952 MB / 290.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.1457, allocations: 0.9462 MB / 291.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004296/0.15, allocations: 4.225 MB / 295.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008812/0.1588, allocations: 7.066 MB / 302.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004486/0.1633, allocations: 3.62 MB / 306.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.1663, allocations: 2.562 MB / 308.9 MB, free: 7.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.1676, allocations: 0.6649 MB / 309.6 MB, free: 7.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1688, allocations: 0.8908 MB / 310.5 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00059/0.1694, allocations: 1.285 MB / 311.8 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.1711, allocations: 1.726 MB / 313.5 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003262/0.1744, allocations: 4.434 MB / 317.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1744, allocations: 0 / 317.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1744, allocations: 0 / 317.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.717e-05/0.1744, allocations: 0 / 317.9 MB, free: 1.922 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.007032/0.1815, allocations: 5.797 MB / 323.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1815, allocations: 8.031 kB / 323.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004713/0.1862, allocations: 1.845 MB / 325.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.1891, allocations: 2.446 MB / 328 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.1893, allocations: 352.4 kB / 328.4 MB, free: 7.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004379/0.1897, allocations: 464 kB / 328.8 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004624/0.1943, allocations: 2.748 MB / 331.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.487e-05/0.1944, allocations: 3.938 kB / 331.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/0.1947, allocations: 189.3 kB / 331.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.1948, allocations: 196.8 kB / 332 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00319/0.198, allocations: 1.645 MB / 333.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/0.2202, allocations: 17.2 MB / 350.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004066/0.2243, allocations: 1.966 MB / 352.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006536/0.225, allocations: 336.9 kB / 353.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.2251, allocations: 51.7 kB / 353.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.2252, allocations: 50.05 kB / 353.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 4.589e-06/0.2252, allocations: 0 / 353.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.00161/0.2268, allocations: 0.7456 MB / 354 MB, free: 13.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.2268, allocations: 64.41 kB / 354 MB, free: 13.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.229, allocations: 1.567 MB / 355.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.229, allocations: 37.7 kB / 355.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.2305, allocations: 2.175 MB / 357.8 MB, free: 9.969 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.2308, allocations: 375.3 kB / 358.2 MB, free: 9.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007169/0.2315, allocations: 0.5447 MB / 358.7 MB, free: 9.051 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.2317, allocations: 0.5355 MB / 359.2 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/0.2324, allocations: 276 kB / 359.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.2341, allocations: 1.982 MB / 361.5 MB, free: 5.512 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/0.2367, allocations: 2.47 MB / 364 MB, free: 2.457 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.431e-05/0.2368, allocations: 12 kB / 364 MB, free: 2.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003375/0.2401, allocations: 1.847 MB / 365.8 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.2402, allocations: 23.94 kB / 365.8 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-05/0.2402, allocations: 40 kB / 365.9 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.775e-05/0.2403, allocations: 52 kB / 365.9 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.2418, allocations: 0.5386 MB / 366.5 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.378e-05/0.2419, allocations: 78.16 kB / 366.5 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.2431, allocations: 298.1 kB / 366.8 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.2433, allocations: 128 kB / 367 MB, free: 15.75 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.001076/0.2444, allocations: 315 kB / 367.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.2446, allocations: 175.1 kB / 367.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.2461, allocations: 0.8811 MB / 368.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008108/0.2469, allocations: 486.1 kB / 368.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.2469, allocations: 4 kB / 368.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.247, allocations: 3.984 kB / 368.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008929/0.2559, allocations: 5.02 MB / 373.8 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/0.2559, allocations: 16 kB / 373.8 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/0.2565, allocations: 214.1 kB / 374.1 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.488e-05/0.2565, allocations: 28 kB / 374.1 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.261e-05/0.2566, allocations: 47.98 kB / 374.1 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.499e-05/0.2566, allocations: 35.02 kB / 374.2 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.788e-05/0.2566, allocations: 27.12 kB / 374.2 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.2587, allocations: 1.799 MB / 376 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/0.2592, allocations: 242.7 kB / 376.2 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.2594, allocations: 43.98 kB / 376.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000626/0.26, allocations: 59.95 kB / 376.3 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.2601, allocations: 141.9 kB / 376.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.272e-05/0.2602, allocations: 52 kB / 376.5 MB, free: 5.633 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.2612, allocations: 0.6908 MB / 377.2 MB, free: 4.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2612, allocations: 4.031 kB / 377.2 MB, free: 4.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002779/0.264, allocations: 0.9492 MB / 378.2 MB, free: 3.98 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.0003653/0.2644, allocations: 203.9 kB / 378.4 MB, free: 3.797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001977/0.2664, allocations: 1.154 MB / 379.5 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.056e-06/0.2664, allocations: 0.875 kB / 379.5 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.2667, allocations: 317.4 kB / 379.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.2681, allocations: 392.4 kB / 380.2 MB, free: 2.168 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/0.2759, allocations: 6.254 MB / 386.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009637/0.2769, allocations: 1.122 MB / 387.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009845/0.2779, allocations: 0.7116 MB / 388.3 MB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.2781, allocations: 120.5 kB / 388.4 MB, free: 9.551 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2781, allocations: 4 kB / 388.4 MB, free: 9.547 MB / 346.7 MB Notification: Performance of Templates: time 0.02365/0.3017, allocations: 16.81 MB / 405.2 MB, free: 9.078 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.428317809011787]