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.000962/0.000962, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.0013/0.0013, allocations: 145.2 kB / 25.6 MB, free: 8.598 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.9267/0.9267, allocations: 173.4 MB / 202.2 MB, free: 8.293 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.663e-06/1.663e-06, allocations: 0 / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.97e-05, allocations: 5.266 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01074/0.01077, allocations: 9.122 MB / 278.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006003/0.01678, allocations: 2.643 MB / 281 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.01803, allocations: 87.56 kB / 281.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007596/0.02563, allocations: 4.359 MB / 285.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.02763, allocations: 0.9432 MB / 286.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.0287, allocations: 0.7907 MB / 287.2 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00275/0.03145, allocations: 4.234 MB / 291.4 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006466/0.03792, allocations: 7.059 MB / 298.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.04174, allocations: 3.62 MB / 302.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.04435, allocations: 2.57 MB / 304.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007767/0.04513, allocations: 0.6641 MB / 305.3 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.04624, allocations: 0.8706 MB / 306.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007202/0.04696, allocations: 1.282 MB / 307.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.04843, allocations: 1.739 MB / 309.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003442/0.05187, allocations: 4.394 MB / 313.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.05187, allocations: 4 kB / 313.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.05188, allocations: 0 / 313.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.376e-05/0.05195, allocations: 0 / 313.6 MB, free: 13.15 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.006682/0.05863, allocations: 5.679 MB / 319.3 MB, free: 7.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.05866, allocations: 8.031 kB / 319.3 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004025/0.06269, allocations: 1.72 MB / 321 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.06513, allocations: 2.276 MB / 323.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.06531, allocations: 345.8 kB / 323.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004317/0.06574, allocations: 456.4 kB / 324.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.06915, allocations: 2.418 MB / 326.5 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.059e-05/0.06922, allocations: 7.953 kB / 326.5 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/0.0695, allocations: 188 kB / 326.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/0.06964, allocations: 197.4 kB / 326.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.07178, allocations: 1.312 MB / 328.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1446/0.2164, allocations: 17.02 MB / 345.2 MB, free: 51.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.219, allocations: 1.422 MB / 346.6 MB, free: 51.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.2194, allocations: 290.3 kB / 346.9 MB, free: 51.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.2195, allocations: 37.36 kB / 346.9 MB, free: 51.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.2195, allocations: 45.17 kB / 347 MB, free: 50.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 3.917e-06/0.2195, allocations: 1.188 kB / 347 MB, free: 50.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.0009923/0.2205, allocations: 0.6515 MB / 347.6 MB, free: 50.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.2206, allocations: 70.44 kB / 347.7 MB, free: 50.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.222, allocations: 1.53 MB / 349.2 MB, free: 50.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.2221, allocations: 41.33 kB / 349.3 MB, free: 50.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008996/0.223, allocations: 2.188 MB / 351.5 MB, free: 49.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.2232, allocations: 370 kB / 351.8 MB, free: 49.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004297/0.2236, allocations: 0.5445 MB / 352.4 MB, free: 49.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2237, allocations: 0.5442 MB / 352.9 MB, free: 48.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.224, allocations: 214.8 kB / 353.1 MB, free: 48.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/0.2247, allocations: 1.933 MB / 355 MB, free: 46.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.2261, allocations: 2.388 MB / 357.4 MB, free: 44.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/0.2261, allocations: 11.28 kB / 357.4 MB, free: 44.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00175/0.2279, allocations: 1.693 MB / 359.1 MB, free: 44.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.2279, allocations: 27.84 kB / 359.2 MB, free: 44.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.581e-05/0.2279, allocations: 39.69 kB / 359.2 MB, free: 44.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.843e-05/0.228, allocations: 50.75 kB / 359.3 MB, free: 44.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008443/0.2288, allocations: 0.5194 MB / 359.8 MB, free: 44.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.412e-05/0.2288, allocations: 76.64 kB / 359.8 MB, free: 44.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.2296, allocations: 268.6 kB / 360.1 MB, free: 44.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/0.2297, allocations: 113 kB / 360.2 MB, free: 44.43 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.0008443/0.2306, allocations: 320.2 kB / 360.5 MB, free: 44.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.2307, allocations: 167.9 kB / 360.7 MB, free: 44.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008075/0.2315, allocations: 0.8363 MB / 361.5 MB, free: 44.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003493/0.2319, allocations: 409.1 kB / 361.9 MB, free: 44.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2319, allocations: 3.938 kB / 361.9 MB, free: 44.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.2319, allocations: 5.297 kB / 361.9 MB, free: 44.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0054/0.2373, allocations: 3.792 MB / 365.7 MB, free: 42.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.2373, allocations: 19.78 kB / 365.8 MB, free: 42.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.2377, allocations: 191.6 kB / 365.9 MB, free: 42.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/0.2377, allocations: 33.33 kB / 366 MB, free: 42.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.2377, allocations: 44.36 kB / 366 MB, free: 42.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.628e-05/0.2377, allocations: 33.66 kB / 366 MB, free: 42.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/0.2378, allocations: 32.97 kB / 366.1 MB, free: 42.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2388, allocations: 1.692 MB / 367.8 MB, free: 41.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.2391, allocations: 230 kB / 368 MB, free: 41.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.2392, allocations: 45.55 kB / 368 MB, free: 41.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.2396, allocations: 41.95 kB / 368.1 MB, free: 41.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.2397, allocations: 128.1 kB / 368.2 MB, free: 41.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.2397, allocations: 46.06 kB / 368.3 MB, free: 41.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005187/0.2403, allocations: 0.6517 MB / 368.9 MB, free: 41 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2403, allocations: 4.031 kB / 368.9 MB, free: 41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002259/0.2425, allocations: 0.9572 MB / 369.9 MB, free: 40.7 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.0003241/0.2428, allocations: 206.9 kB / 370.1 MB, free: 40.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.2442, allocations: 1.078 MB / 371.1 MB, free: 40.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.2442, allocations: 6.75 kB / 371.2 MB, free: 40.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.2445, allocations: 292.9 kB / 371.4 MB, free: 40.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.2458, allocations: 407.1 kB / 371.8 MB, free: 39.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006817/0.2526, allocations: 6.258 MB / 378.1 MB, free: 34.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007835/0.2534, allocations: 1.124 MB / 379.2 MB, free: 33.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006432/0.2541, allocations: 235.2 kB / 379.4 MB, free: 33.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.2545, allocations: 393.4 kB / 379.8 MB, free: 33.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.963e-06/0.2545, allocations: 0 / 379.8 MB, free: 33.3 MB / 314.7 MB Notification: Performance of Templates: time 0.02696/0.2815, allocations: 18.52 MB / 398.4 MB, free: 15.98 MB / 314.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.3185384618118405]