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.001338/0.001338, allocations: 83.89 kB / 21.18 MB, free: 3.391 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.001159/0.001159, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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.9517/0.9517, allocations: 173.3 MB / 201.1 MB, free: 8.992 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.152e-06/1.152e-06, allocations: 0 / 268 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.261e-05, allocations: 2.312 kB / 268 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.007517/0.007529, allocations: 9.439 MB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.0113, allocations: 2.654 MB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004815/0.01178, allocations: 91.56 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004018/0.0158, allocations: 4.477 MB / 284.7 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.01748, allocations: 0.9548 MB / 285.6 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.01854, allocations: 0.8123 MB / 286.4 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1283/0.1468, allocations: 4.22 MB / 290.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01155/0.1584, allocations: 7.063 MB / 297.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006779/0.1652, allocations: 3.614 MB / 301.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004623/0.1698, allocations: 2.563 MB / 303.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001881/0.1717, allocations: 0.6633 MB / 304.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.1739, allocations: 0.8763 MB / 305.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000855/0.1748, allocations: 1.278 MB / 306.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00271/0.1775, allocations: 1.73 MB / 308.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005192/0.1827, allocations: 4.404 MB / 312.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1827, allocations: 0.6875 kB / 312.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1827, allocations: 1.75 kB / 312.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002127/0.1829, allocations: 3.375 kB / 312.8 MB, free: 7.984 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.01147/0.1944, allocations: 5.797 MB / 318.6 MB, free: 3.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.1944, allocations: 8.031 kB / 318.7 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.2064, allocations: 1.849 MB / 320.5 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01637/0.2228, allocations: 2.452 MB / 323 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.2232, allocations: 341.8 kB / 323.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.2245, allocations: 456.7 kB / 323.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02739/0.2519, allocations: 2.741 MB / 326.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.252, allocations: 7.891 kB / 326.5 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006502/0.2585, allocations: 191.7 kB / 326.7 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002156/0.2587, allocations: 193.5 kB / 326.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006094/0.2648, allocations: 1.633 MB / 328.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02129/0.2861, allocations: 17.2 MB / 345.7 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/0.2901, allocations: 1.971 MB / 347.7 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000738/0.2908, allocations: 325.5 kB / 348 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.291, allocations: 36.98 kB / 348 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.291, allocations: 50.05 kB / 348.1 MB, free: 6.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 4.228e-06/0.291, allocations: 0 / 348.1 MB, free: 6.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.001803/0.2928, allocations: 0.7378 MB / 348.8 MB, free: 5.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.2929, allocations: 64.41 kB / 348.9 MB, free: 5.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.2958, allocations: 1.56 MB / 350.4 MB, free: 3.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/0.2959, allocations: 45.7 kB / 350.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001908/0.2978, allocations: 2.177 MB / 352.6 MB, free: 1.676 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004215/0.2982, allocations: 367 kB / 353 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008345/0.299, allocations: 0.5408 MB / 353.5 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002909/0.2993, allocations: 0.5433 MB / 354.1 MB, free: 224 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007452/0.3001, allocations: 264.2 kB / 354.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.3019, allocations: 1.98 MB / 356.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/0.304, allocations: 2.471 MB / 358.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.556e-05/0.3041, allocations: 8 kB / 358.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00263/0.3067, allocations: 1.836 MB / 360.6 MB, free: 8.578 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.3067, allocations: 27.94 kB / 360.7 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-05/0.3068, allocations: 40.88 kB / 360.7 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.3071, allocations: 52 kB / 360.8 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.3081, allocations: 0.5374 MB / 361.3 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.191e-05/0.3082, allocations: 82.53 kB / 361.4 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.3092, allocations: 301.9 kB / 361.7 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.3094, allocations: 128 kB / 361.8 MB, free: 7.48 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.001078/0.3105, allocations: 316.4 kB / 362.1 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.3107, allocations: 175.1 kB / 362.3 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3118, allocations: 0.8812 MB / 363.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005587/0.3124, allocations: 474.3 kB / 363.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3124, allocations: 0 / 363.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3124, allocations: 7.984 kB / 363.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008381/0.3208, allocations: 4.911 MB / 368.5 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.3208, allocations: 24.03 kB / 368.6 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.3212, allocations: 212.6 kB / 368.8 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.682e-05/0.3212, allocations: 24 kB / 368.8 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.3213, allocations: 47.98 kB / 368.8 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.99e-05/0.3213, allocations: 38.2 kB / 368.9 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/0.3213, allocations: 26.84 kB / 368.9 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.3232, allocations: 1.782 MB / 370.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.3236, allocations: 234.9 kB / 370.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.211e-05/0.3237, allocations: 51.97 kB / 371 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.3241, allocations: 59.95 kB / 371 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.3242, allocations: 136.8 kB / 371.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.3243, allocations: 51.98 kB / 371.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007686/0.325, allocations: 0.6869 MB / 371.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.325, allocations: 0 / 371.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002563/0.3276, allocations: 0.9569 MB / 372.9 MB, free: 11.85 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.0003703/0.328, allocations: 214.9 kB / 373.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.3297, allocations: 1.146 MB / 374.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.3297, allocations: 6 kB / 374.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.3301, allocations: 321.9 kB / 374.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.3314, allocations: 389.1 kB / 374.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008795/0.3402, allocations: 6.277 MB / 381.2 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.3414, allocations: 1.126 MB / 382.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001208/0.3426, allocations: 0.7116 MB / 383 MB, free: 1.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.3428, allocations: 112.5 kB / 383.1 MB, free: 1.383 MB / 330.7 MB Notification: Performance of SimCode: time 2.475e-06/0.3428, allocations: 0 / 383.1 MB, free: 1.383 MB / 330.7 MB Notification: Performance of Templates: time 0.02629/0.3691, allocations: 16.72 MB / 399.9 MB, free: 0.9961 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: 3.342907262966037]