Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.0007134/0.0007134, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001797, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006396/0.0006396, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009178/0.001557, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8373/0.8373, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1376/0.9749, allocations: 52.48 MB / 238.5 MB, free: 7.617 MB / 234.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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.23e-05, allocations: 2.312 kB / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006151/0.006163, allocations: 8.67 MB / 248.4 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003809/0.009972, allocations: 2.695 MB / 251.1 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006001/0.01057, allocations: 75.69 kB / 251.2 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.01393, allocations: 3.977 MB / 255.2 MB, free: 6.906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.01543, allocations: 0.916 MB / 256.1 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009594/0.01639, allocations: 0.7769 MB / 256.9 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002392/0.01878, allocations: 3.8 MB / 260.7 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005081/0.02386, allocations: 6.231 MB / 266.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.02632, allocations: 3.265 MB / 270.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.02824, allocations: 2.336 MB / 272.5 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005505/0.02879, allocations: 0.5859 MB / 273.1 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.02987, allocations: 0.8042 MB / 273.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005826/0.03046, allocations: 0.8924 MB / 274.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.03156, allocations: 1.291 MB / 276.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.03424, allocations: 3.732 MB / 279.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.03425, allocations: 0 / 279.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03425, allocations: 3.938 kB / 279.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.304e-05/0.03428, allocations: 0 / 279.8 MB, free: 14.11 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.005792/0.04008, allocations: 5.579 MB / 285.4 MB, free: 8.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.04011, allocations: 12.03 kB / 285.4 MB, free: 8.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004316/0.04443, allocations: 1.69 MB / 287.1 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.04601, allocations: 1.177 MB / 288.3 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.04615, allocations: 316.8 kB / 288.6 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000377/0.04653, allocations: 427.8 kB / 289 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.04942, allocations: 2.711 MB / 291.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/0.04947, allocations: 3.953 kB / 291.7 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.04971, allocations: 172 kB / 291.9 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.04982, allocations: 176.6 kB / 292 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.05126, allocations: 1.053 MB / 293.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.06134, allocations: 12 MB / 305.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.06273, allocations: 1.133 MB / 306.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.0631, allocations: 335.1 kB / 306.6 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-05/0.06318, allocations: 48.91 kB / 306.6 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.06321, allocations: 47.5 kB / 306.6 MB, free: 2.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 3.517e-06/0.06321, allocations: 0 / 306.6 MB, free: 2.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.0005996/0.06381, allocations: 0.4945 MB / 307.1 MB, free: 1.961 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.06384, allocations: 64.41 kB / 307.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.0644, allocations: 0.9402 MB / 308.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.06444, allocations: 41.7 kB / 308.2 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005749/0.06502, allocations: 1.735 MB / 309.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.06519, allocations: 384.8 kB / 310.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/0.0655, allocations: 415.4 kB / 310.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.06559, allocations: 345.9 kB / 311 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.06587, allocations: 295.2 kB / 311.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.06648, allocations: 1.187 MB / 312.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.0676, allocations: 1.779 MB / 314.3 MB, free: 9.766 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.06761, allocations: 16 kB / 314.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001215/0.06883, allocations: 1.315 MB / 315.6 MB, free: 8.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.06885, allocations: 20 kB / 315.6 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.06887, allocations: 36 kB / 315.7 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/0.06891, allocations: 44 kB / 315.7 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.06996, allocations: 0.5538 MB / 316.3 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.31e-05/0.07, allocations: 71.72 kB / 316.3 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/0.0706, allocations: 258.3 kB / 316.6 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.07071, allocations: 95.98 kB / 316.7 MB, free: 7.359 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.0003965/0.07111, allocations: 263.7 kB / 317 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.07123, allocations: 103.8 kB / 317.1 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007707/0.072, allocations: 0.7279 MB / 317.8 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002879/0.07229, allocations: 320.5 kB / 318.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.07229, allocations: 15.94 kB / 318.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.0723, allocations: 3.984 kB / 318.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00435/0.07665, allocations: 3.886 MB / 322 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.07666, allocations: 20 kB / 322 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.07706, allocations: 223.6 kB / 322.2 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.07725, allocations: 190.8 kB / 322.4 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.07738, allocations: 28 kB / 322.4 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.07743, allocations: 47.94 kB / 322.5 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.173e-05/0.07745, allocations: 43.84 kB / 322.5 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-05/0.07746, allocations: 31.88 kB / 322.6 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.0785, allocations: 1.537 MB / 324.1 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-05/0.07859, allocations: 51.92 kB / 324.2 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.07892, allocations: 40 kB / 324.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.07903, allocations: 143.3 kB / 324.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.07907, allocations: 47.98 kB / 324.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002886/0.07936, allocations: 394.4 kB / 324.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07936, allocations: 4 kB / 324.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001409/0.08077, allocations: 0.8871 MB / 325.7 MB, free: 13.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.0004207/0.08119, allocations: 195.8 kB / 325.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008389/0.08203, allocations: 0.9666 MB / 326.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.191e-05/0.08208, allocations: 35.84 kB / 326.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.08323, allocations: 0.9721 MB / 327.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.08483, allocations: 2.33 MB / 330.2 MB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/0.1028, allocations: 5.884 MB / 336 MB, free: 2.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.1034, allocations: 0.7372 MB / 336.8 MB, free: 1.617 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00057/0.104, allocations: 220.8 kB / 337 MB, free: 1.395 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.1044, allocations: 317.2 kB / 337.3 MB, free: 1.086 MB / 330.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1044, allocations: 4 kB / 337.3 MB, free: 1.082 MB / 330.7 MB Notification: Performance of Templates: time 0.1072/0.2116, allocations: 16.32 MB / 353.6 MB, free: 68.02 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5828141709789634]