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.001249/0.001249, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001461/0.001461, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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.041/1.041, allocations: 177.1 MB / 206 MB, free: 4.488 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.293e-06/1.293e-06, allocations: 0 / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.615e-05, allocations: 2.312 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009913/0.009929, allocations: 9.13 MB / 283.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003229/0.01316, allocations: 2.702 MB / 286 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005161/0.01367, allocations: 91.56 kB / 286.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003774/0.01745, allocations: 4.352 MB / 290.5 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.01883, allocations: 0.7954 MB / 291.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.01991, allocations: 0.9308 MB / 292.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002737/0.02264, allocations: 4.224 MB / 296.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00712/0.02976, allocations: 7.066 MB / 303.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004325/0.03409, allocations: 3.62 MB / 307.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.03729, allocations: 2.577 MB / 309.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00172/0.03901, allocations: 0.6679 MB / 310.4 MB, free: 24 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003237/0.04225, allocations: 0.8824 MB / 311.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001745/0.04399, allocations: 1.282 MB / 312.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002744/0.04674, allocations: 1.735 MB / 314.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005508/0.05225, allocations: 4.421 MB / 318.7 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.05225, allocations: 0 / 318.7 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.05226, allocations: 3.984 kB / 318.7 MB, free: 7.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002249/0.05248, allocations: 0 / 318.7 MB, free: 7.68 MB / 298.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.008073/0.06056, allocations: 5.667 MB / 324.4 MB, free: 1.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.06059, allocations: 8.031 kB / 324.4 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004397/0.06499, allocations: 1.723 MB / 326.1 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/0.0674, allocations: 2.284 MB / 328.4 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.06758, allocations: 353.7 kB / 328.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004371/0.06802, allocations: 460.4 kB / 329.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003377/0.07139, allocations: 2.426 MB / 331.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.796e-05/0.07146, allocations: 0 / 331.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/0.07174, allocations: 188 kB / 331.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.07187, allocations: 197.5 kB / 332 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.07393, allocations: 1.316 MB / 333.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1467/0.2206, allocations: 17.05 MB / 350.3 MB, free: 44.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.2227, allocations: 1.431 MB / 351.8 MB, free: 44.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.223, allocations: 285.7 kB / 352 MB, free: 44.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.2231, allocations: 44.69 kB / 352.1 MB, free: 44.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.2232, allocations: 47.7 kB / 352.1 MB, free: 44.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 4.278e-06/0.2232, allocations: 1.516 kB / 352.1 MB, free: 44.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.0008858/0.224, allocations: 0.6611 MB / 352.8 MB, free: 44.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.2241, allocations: 62.72 kB / 352.9 MB, free: 44.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.2256, allocations: 1.536 MB / 354.4 MB, free: 44.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.2256, allocations: 41.64 kB / 354.4 MB, free: 44.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009305/0.2265, allocations: 2.187 MB / 356.6 MB, free: 43.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.2267, allocations: 369 kB / 357 MB, free: 43.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004814/0.2272, allocations: 0.5517 MB / 357.5 MB, free: 43.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2273, allocations: 0.5468 MB / 358.1 MB, free: 42.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.2276, allocations: 210.8 kB / 358.3 MB, free: 42.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008026/0.2284, allocations: 1.935 MB / 360.2 MB, free: 40.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.23, allocations: 2.38 MB / 362.6 MB, free: 38.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.173e-05/0.2301, allocations: 11.91 kB / 362.6 MB, free: 38.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001774/0.2318, allocations: 1.707 MB / 364.3 MB, free: 38.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.2319, allocations: 19.31 kB / 364.3 MB, free: 38.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.174e-05/0.2319, allocations: 38.94 kB / 364.4 MB, free: 38.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.745e-05/0.232, allocations: 59.25 kB / 364.4 MB, free: 38.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008465/0.2328, allocations: 0.5151 MB / 364.9 MB, free: 38.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-05/0.2329, allocations: 78.03 kB / 365 MB, free: 38.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/0.2337, allocations: 275.3 kB / 365.3 MB, free: 38.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/0.2338, allocations: 107.1 kB / 365.4 MB, free: 38.2 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.0008719/0.2347, allocations: 321.1 kB / 365.7 MB, free: 38.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.2348, allocations: 169.5 kB / 365.9 MB, free: 37.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008587/0.2357, allocations: 0.8324 MB / 366.7 MB, free: 37.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003584/0.2361, allocations: 416.8 kB / 367.1 MB, free: 37.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2361, allocations: 3.094 kB / 367.1 MB, free: 37.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.2361, allocations: 7.734 kB / 367.1 MB, free: 37.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/0.241, allocations: 3.908 MB / 371 MB, free: 36.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.2411, allocations: 22.16 kB / 371.1 MB, free: 36.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.2414, allocations: 191.3 kB / 371.2 MB, free: 36.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.2414, allocations: 28.25 kB / 371.3 MB, free: 36.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.2414, allocations: 42.7 kB / 371.3 MB, free: 36.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.605e-05/0.2415, allocations: 41.22 kB / 371.4 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/0.2415, allocations: 33.56 kB / 371.4 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.2425, allocations: 1.704 MB / 373.1 MB, free: 35.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.2428, allocations: 226.3 kB / 373.3 MB, free: 34.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.2429, allocations: 51.69 kB / 373.4 MB, free: 34.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.2433, allocations: 37.69 kB / 373.4 MB, free: 34.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.953e-05/0.2434, allocations: 133 kB / 373.5 MB, free: 34.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.2434, allocations: 49.08 kB / 373.6 MB, free: 34.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005004/0.2439, allocations: 0.6492 MB / 374.2 MB, free: 34.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2439, allocations: 0 / 374.2 MB, free: 34.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002276/0.2462, allocations: 0.9546 MB / 375.2 MB, free: 33.54 MB / 314.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.0002677/0.2465, allocations: 201.5 kB / 375.4 MB, free: 33.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.2477, allocations: 1.079 MB / 376.5 MB, free: 32.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.2477, allocations: 4 kB / 376.5 MB, free: 32.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.248, allocations: 306.4 kB / 376.8 MB, free: 32.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.2493, allocations: 391.9 kB / 377.1 MB, free: 32.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007422/0.2567, allocations: 6.223 MB / 383.4 MB, free: 26.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/0.2575, allocations: 1.122 MB / 384.5 MB, free: 25.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006166/0.2581, allocations: 233.6 kB / 384.7 MB, free: 25.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004507/0.2586, allocations: 394 kB / 385.1 MB, free: 24.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2586, allocations: 0 / 385.1 MB, free: 24.7 MB / 314.7 MB Notification: Performance of Templates: time 0.02745/0.286, allocations: 18.59 MB / 403.7 MB, free: 6.48 MB / 314.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.3615549970418215]