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.001282/0.001282, allocations: 73.95 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001679/0.001679, allocations: 158.8 kB / 24.5 MB, free: 3.715 MB / 14.72 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.468/1.468, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001622/0.001622, allocations: 60.03 kB / 325.6 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08694, allocations: 53.34 MB / 378.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01071/0.09766, allocations: 8.519 MB / 387.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004916/0.1026, allocations: 2.651 MB / 390.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005555/0.1031, allocations: 91.56 kB / 390.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00925/0.1124, allocations: 4.119 MB / 394.3 MB, free: 372 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.1149, allocations: 0.7682 MB / 395.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.1171, allocations: 0.9327 MB / 396 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004746/0.1219, allocations: 4.097 MB / 400.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00983/0.1317, allocations: 7.035 MB / 407.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.1349, allocations: 2.416 MB / 409.5 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0037/0.1386, allocations: 2.55 MB / 412.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.1398, allocations: 0.6641 MB / 412.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.1417, allocations: 0.8865 MB / 413.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.143, allocations: 1.247 MB / 414.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002421/0.1454, allocations: 1.985 MB / 416.9 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009054/0.1545, allocations: 8.968 MB / 425.8 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1545, allocations: 7.938 kB / 425.8 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1545, allocations: 0 / 425.8 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.1546, allocations: 0 / 425.8 MB, free: 0.6133 MB / 382.1 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.166, allocations: 5.331 MB / 431.2 MB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1661, allocations: 12.03 kB / 431.2 MB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008018/0.1741, allocations: 1.313 MB / 432.5 MB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/0.1785, allocations: 2.61 MB / 435.1 MB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.1788, allocations: 353.3 kB / 435.5 MB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006835/0.1795, allocations: 452 kB / 435.9 MB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.1897, allocations: 6.131 MB / 442 MB, free: 292 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.034e-05/0.1898, allocations: 0 / 442 MB, free: 292 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004339/0.1902, allocations: 196 kB / 442.2 MB, free: 96 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002067/0.1905, allocations: 193.6 kB / 442.4 MB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00854/0.199, allocations: 5.264 MB / 447.7 MB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/0.2247, allocations: 17.77 MB / 465.4 MB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005226/0.2299, allocations: 2.074 MB / 467.5 MB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009587/0.2308, allocations: 0.6001 MB / 468.1 MB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.231, allocations: 40.95 kB / 468.2 MB, free: 5.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.231, allocations: 47.5 kB / 468.2 MB, free: 5.523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.276e-06/0.231, allocations: 0 / 468.2 MB, free: 5.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002273/0.2333, allocations: 1.437 MB / 469.6 MB, free: 4.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.2333, allocations: 68.34 kB / 469.7 MB, free: 4.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.2352, allocations: 1.527 MB / 471.2 MB, free: 2.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.2353, allocations: 41.7 kB / 471.3 MB, free: 2.418 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.2367, allocations: 2.037 MB / 473.3 MB, free: 368 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1724/0.409, allocations: 366.2 kB / 473.7 MB, free: 79.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008608/0.4099, allocations: 475.5 kB / 474.1 MB, free: 79.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.41, allocations: 355 kB / 474.5 MB, free: 79.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.4112, allocations: 0.8087 MB / 475.3 MB, free: 79.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.4127, allocations: 1.947 MB / 477.2 MB, free: 77.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/0.4152, allocations: 2.93 MB / 480.2 MB, free: 75.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.4152, allocations: 11.34 kB / 480.2 MB, free: 75.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003865/0.4191, allocations: 2.801 MB / 483 MB, free: 74.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.4191, allocations: 22.47 kB / 483 MB, free: 74.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/0.4191, allocations: 40.09 kB / 483 MB, free: 74.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.405e-05/0.4192, allocations: 53.66 kB / 483.1 MB, free: 74.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4208, allocations: 0.5363 MB / 483.6 MB, free: 74.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.686e-05/0.4209, allocations: 81.31 kB / 483.7 MB, free: 74.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.4221, allocations: 301.2 kB / 484 MB, free: 74.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.4222, allocations: 130.3 kB / 484.1 MB, free: 74.74 MB / 430.1 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.002158/0.4244, allocations: 1.664 MB / 485.8 MB, free: 73.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.4246, allocations: 133.5 kB / 485.9 MB, free: 73.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.4265, allocations: 1.347 MB / 487.3 MB, free: 73.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001146/0.4276, allocations: 0.9398 MB / 488.2 MB, free: 73.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4277, allocations: 5.312 kB / 488.2 MB, free: 73.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.4277, allocations: 3.891 kB / 488.2 MB, free: 73.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.4379, allocations: 10.18 MB / 498.4 MB, free: 69.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.438, allocations: 19.38 kB / 498.4 MB, free: 69.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/0.4386, allocations: 211.5 kB / 498.6 MB, free: 69.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/0.4386, allocations: 28 kB / 498.7 MB, free: 69.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/0.4387, allocations: 43.98 kB / 498.7 MB, free: 69.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.598e-05/0.4387, allocations: 39.86 kB / 498.7 MB, free: 69.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.4387, allocations: 34.22 kB / 498.8 MB, free: 69.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.4407, allocations: 2.461 MB / 0.4895 GB, free: 66.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.4411, allocations: 251.1 kB / 0.4897 GB, free: 66.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.4412, allocations: 54.19 kB / 0.4898 GB, free: 66.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006668/0.4419, allocations: 59.95 kB / 0.4898 GB, free: 66.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.442, allocations: 135.4 kB / 0.49 GB, free: 65.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/0.4421, allocations: 52 kB / 0.49 GB, free: 65.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009289/0.443, allocations: 0.9875 MB / 0.491 GB, free: 64.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.443, allocations: 1.969 kB / 0.491 GB, free: 64.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002288/0.4453, allocations: 0.9577 MB / 0.4919 GB, free: 64 MB / 430.1 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.0002453/0.4455, allocations: 196.3 kB / 0.4921 GB, free: 63.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.4475, allocations: 1.798 MB / 0.4939 GB, free: 62.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.4475, allocations: 4 kB / 0.4939 GB, free: 62.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.448, allocations: 0.5697 MB / 0.4944 GB, free: 61.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.45, allocations: 388.5 kB / 0.4948 GB, free: 61.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007904/0.4579, allocations: 6.912 MB / 0.5015 GB, free: 53.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.4598, allocations: 2.529 MB / 0.504 GB, free: 51.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00149/0.4613, allocations: 0.8122 MB / 0.5048 GB, free: 50.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.4615, allocations: 128.5 kB / 0.5049 GB, free: 50.42 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4615, allocations: 0 / 0.5049 GB, free: 50.42 MB / 430.1 MB Notification: Performance of Templates: time 0.02606/0.4876, allocations: 16.99 MB / 0.5215 GB, free: 33.7 MB / 430.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.941586134023964]