Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.0009906/0.0009906, allocations: 76.81 kB / 22.29 MB, free: 2.191 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.001034/0.001034, allocations: 158.9 kB / 25.69 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8444/0.8444, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.59e-05, allocations: 2.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.007389/0.007404, allocations: 9.507 MB / 261.1 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004888/0.01229, allocations: 2.934 MB / 264 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007705/0.01306, allocations: 75.62 kB / 264.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004398/0.01746, allocations: 4.464 MB / 268.6 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.01935, allocations: 0.9083 MB / 269.5 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.02062, allocations: 0.9423 MB / 270.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003354/0.02397, allocations: 4.469 MB / 274.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007212/0.03118, allocations: 7.337 MB / 282.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.03432, allocations: 3.779 MB / 286 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.03674, allocations: 2.76 MB / 288.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004902/0.03723, allocations: 0.6758 MB / 289.4 MB, free: 1.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009503/0.03818, allocations: 0.9019 MB / 290.3 MB, free: 192 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006742/0.03886, allocations: 1.368 MB / 291.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.04001, allocations: 1.805 MB / 293.5 MB, free: 13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003307/0.04331, allocations: 4.577 MB / 298.1 MB, free: 8.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.04332, allocations: 3.938 kB / 298.1 MB, free: 8.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04332, allocations: 0 / 298.1 MB, free: 8.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.055e-05/0.04335, allocations: 4 kB / 298.1 MB, free: 8.406 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.006385/0.04973, allocations: 5.466 MB / 303.6 MB, free: 2.891 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.04977, allocations: 15.98 kB / 303.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007681/0.05745, allocations: 2.701 MB / 306.3 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.05902, allocations: 1.126 MB / 307.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.05919, allocations: 370.2 kB / 307.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004531/0.05965, allocations: 484.1 kB / 308.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003745/0.06339, allocations: 3.232 MB / 311.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-05/0.06346, allocations: 0 / 311.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002885/0.06375, allocations: 204 kB / 311.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/0.06389, allocations: 226.1 kB / 311.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.06587, allocations: 1.366 MB / 313.2 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02108/0.08695, allocations: 13.86 MB / 327.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006691/0.09364, allocations: 2.068 MB / 329.2 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.09407, allocations: 323 kB / 329.5 MB, free: 8.223 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005846/0.09992, allocations: 1.455 MB / 330.9 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.09994, allocations: 34.56 kB / 331 MB, free: 6.699 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.09994, allocations: 0 / 331 MB, free: 6.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002617/0.1002, allocations: 173.4 kB / 331.1 MB, free: 6.523 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.1002, allocations: 51.41 kB / 331.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004311/0.1045, allocations: 1.468 MB / 332.7 MB, free: 4.984 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1046, allocations: 25.7 kB / 332.7 MB, free: 4.953 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.1056, allocations: 2.374 MB / 335.1 MB, free: 2.555 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.1057, allocations: 79.72 kB / 335.1 MB, free: 2.477 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005298/0.1062, allocations: 0.5001 MB / 335.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1063, allocations: 361.8 kB / 336 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.1067, allocations: 312.1 kB / 336.3 MB, free: 1.301 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.1079, allocations: 1.63 MB / 337.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004546/0.1124, allocations: 2.079 MB / 340 MB, free: 12.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/0.1124, allocations: 12 kB / 340 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.002005/0.1144, allocations: 1.602 MB / 341.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.1145, allocations: 28 kB / 341.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.039e-05/0.1145, allocations: 48 kB / 341.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.888e-05/0.1146, allocations: 71.98 kB / 341.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007273/0.1219, allocations: 0.5693 MB / 342.3 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-05/0.1219, allocations: 103.6 kB / 342.4 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.1233, allocations: 350 kB / 342.8 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.1234, allocations: 124 kB / 342.9 MB, free: 9.266 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.000679/0.1241, allocations: 299.2 kB / 343.2 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006147/0.1303, allocations: 75.91 kB / 343.3 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.1305, allocations: 167.1 kB / 343.4 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.704e-05/0.1306, allocations: 53.62 kB / 343.5 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1306, allocations: 4 kB / 343.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1306, allocations: 0 / 343.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.1323, allocations: 1.066 MB / 344.6 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1323, allocations: 4 kB / 344.6 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.1324, allocations: 12.36 kB / 344.6 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1324, allocations: 0 / 344.6 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1324, allocations: 4 kB / 344.6 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1324, allocations: 4 kB / 344.6 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1324, allocations: 0 / 344.6 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.1326, allocations: 298.6 kB / 344.9 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.1328, allocations: 115.2 kB / 345 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.1329, allocations: 8 kB / 345 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/0.1357, allocations: 7.938 kB / 345 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.1358, allocations: 7.984 kB / 345 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.1358, allocations: 3.938 kB / 345 MB, free: 7.078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006407/0.1364, allocations: 0.6004 MB / 345.6 MB, free: 6.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1364, allocations: 0 / 345.6 MB, free: 6.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002155/0.1386, allocations: 0.9958 MB / 346.6 MB, free: 5.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0002007/0.1388, allocations: 116.3 kB / 346.7 MB, free: 5.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1398, allocations: 0.8383 MB / 347.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001066/0.1399, allocations: 47.94 kB / 347.6 MB, free: 4.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.1399, allocations: 32.77 kB / 347.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009549/0.1409, allocations: 347.5 kB / 348 MB, free: 4.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1043/0.2452, allocations: 5.607 MB / 353.6 MB, free: 84.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.2458, allocations: 0.7925 MB / 354.4 MB, free: 84.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006309/0.2464, allocations: 240.4 kB / 354.6 MB, free: 84.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.2468, allocations: 321.7 kB / 354.9 MB, free: 84.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.804e-06/0.2468, allocations: 0 / 354.9 MB, free: 84.34 MB / 330.7 MB Notification: Performance of Templates: time 0.02285/0.2697, allocations: 18.09 MB / 373 MB, free: 74.89 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/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: 2.9898047167807817]