Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.001276/0.001276, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001399/0.001399, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.421/1.421, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 59.84 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2209, allocations: 53.36 MB / 432.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01036/0.2313, allocations: 8.014 MB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004251/0.2356, allocations: 2.538 MB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004733/0.236, allocations: 79.62 kB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008107/0.2441, allocations: 3.466 MB / 446.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.246, allocations: 0.7456 MB / 447.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.2479, allocations: 0.9074 MB / 448.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003825/0.2517, allocations: 3.657 MB / 451.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007979/0.2597, allocations: 6.179 MB / 457.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.2622, allocations: 2.143 MB / 460.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.265, allocations: 2.387 MB / 462.4 MB, free: 8.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000735/0.2657, allocations: 0.5859 MB / 463 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.2671, allocations: 0.8161 MB / 463.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009872/0.2681, allocations: 1.103 MB / 465 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.27, allocations: 1.774 MB / 466.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007757/0.2777, allocations: 7.967 MB / 474.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2777, allocations: 0 / 474.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2777, allocations: 4 kB / 474.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001104/0.2778, allocations: 0 / 474.7 MB, free: 12.21 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01134/0.2892, allocations: 4.857 MB / 479.6 MB, free: 7.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2892, allocations: 12.03 kB / 479.6 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00832/0.2975, allocations: 1.286 MB / 480.9 MB, free: 6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004767/0.3023, allocations: 2.317 MB / 483.2 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.3026, allocations: 308.4 kB / 483.5 MB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006787/0.3032, allocations: 415.9 kB / 483.9 MB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009877/0.3131, allocations: 5.502 MB / 489.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.701e-05/0.3132, allocations: 0 / 489.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.3136, allocations: 179.9 kB / 489.6 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001951/0.3138, allocations: 176.6 kB / 489.7 MB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00829/0.3221, allocations: 4.804 MB / 494.5 MB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/0.347, allocations: 16.3 MB / 0.4989 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/0.3511, allocations: 1.741 MB / 0.5006 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.3524, allocations: 0.7222 MB / 0.5013 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.3525, allocations: 44.95 kB / 0.5013 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.3525, allocations: 43.56 kB / 0.5014 GB, free: 4.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.216e-06/0.3526, allocations: 0 / 0.5014 GB, free: 4.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002513/0.3551, allocations: 1.562 MB / 0.5029 GB, free: 3.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.3551, allocations: 68.34 kB / 0.5029 GB, free: 3.164 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.3569, allocations: 1.403 MB / 0.5043 GB, free: 1.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/0.357, allocations: 41.7 kB / 0.5044 GB, free: 1.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.3582, allocations: 1.823 MB / 0.5061 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.3586, allocations: 381 kB / 0.5065 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006405/0.3592, allocations: 455.7 kB / 0.5069 GB, free: 15.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3594, allocations: 349.7 kB / 0.5073 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.3606, allocations: 0.8356 MB / 0.5081 GB, free: 13.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.3627, allocations: 1.823 MB / 0.5099 GB, free: 11.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003451/0.3662, allocations: 2.802 MB / 0.5126 GB, free: 8.254 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.3662, allocations: 8 kB / 0.5126 GB, free: 8.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004181/0.3704, allocations: 2.746 MB / 0.5153 GB, free: 5.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.3704, allocations: 20 kB / 0.5153 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.3704, allocations: 32 kB / 0.5153 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.969e-05/0.3705, allocations: 48.81 kB / 0.5154 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.3723, allocations: 0.5226 MB / 0.5159 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.418e-05/0.3724, allocations: 71.72 kB / 0.516 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.3736, allocations: 290 kB / 0.5162 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.3738, allocations: 116 kB / 0.5164 GB, free: 4.398 MB / 430.1 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.002079/0.3759, allocations: 1.488 MB / 0.5178 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.3761, allocations: 131.2 kB / 0.5179 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.3785, allocations: 1.457 MB / 0.5194 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001605/0.3801, allocations: 1.041 MB / 0.5204 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3801, allocations: 4 kB / 0.5204 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.3801, allocations: 11.97 kB / 0.5204 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.3956, allocations: 10.19 MB / 0.5303 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/0.3957, allocations: 23.94 kB / 0.5304 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/0.3966, allocations: 227.6 kB / 0.5306 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-05/0.3966, allocations: 28 kB / 0.5306 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.985e-05/0.3967, allocations: 51.98 kB / 0.5307 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.538e-05/0.3967, allocations: 43.8 kB / 0.5307 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.533e-05/0.3967, allocations: 31.88 kB / 0.5307 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003489/0.4002, allocations: 2.672 MB / 0.5333 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006397/0.4009, allocations: 266.8 kB / 0.5336 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.401, allocations: 55.94 kB / 0.5336 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007954/0.4018, allocations: 67.94 kB / 0.5337 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.402, allocations: 151.2 kB / 0.5338 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/0.4021, allocations: 55.98 kB / 0.5339 GB, free: 1.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001257/0.4034, allocations: 0.906 MB / 0.5348 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4034, allocations: 0 / 0.5348 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.1856/0.589, allocations: 0.8746 MB / 0.5356 GB, free: 96.75 MB / 446.1 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.0005502/0.5895, allocations: 195.8 kB / 0.5358 GB, free: 96.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002919/0.5925, allocations: 1.839 MB / 0.5376 GB, free: 96.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.5925, allocations: 4.125 kB / 0.5376 GB, free: 96.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007864/0.5932, allocations: 0.6162 MB / 0.5382 GB, free: 96.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.5953, allocations: 346.5 kB / 0.5386 GB, free: 96.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008666/0.604, allocations: 6.451 MB / 0.5449 GB, free: 93.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.6058, allocations: 2.262 MB / 0.5471 GB, free: 92.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001476/0.6073, allocations: 0.7585 MB / 0.5478 GB, free: 92.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.6075, allocations: 117.1 kB / 0.5479 GB, free: 92.18 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6075, allocations: 0 / 0.5479 GB, free: 92.18 MB / 446.1 MB Notification: Performance of Templates: time 0.02717/0.6347, allocations: 20.46 MB / 0.5679 GB, free: 76.32 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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: 5.072033288990497]