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.001618/0.001618, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001876/0.001876, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.499/1.499, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001774/0.001774, allocations: 47.92 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1088, allocations: 53.33 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.2329/0.3417, allocations: 9.175 MB / 436 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004564/0.3463, allocations: 2.653 MB / 438.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.3469, allocations: 75.72 kB / 438.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007066/0.354, allocations: 3.762 MB / 442.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.3571, allocations: 0.7561 MB / 443.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.3594, allocations: 0.927 MB / 444.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004791/0.3642, allocations: 3.622 MB / 447.8 MB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0113/0.3755, allocations: 7.374 MB / 455.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003708/0.3792, allocations: 2.131 MB / 457.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003752/0.383, allocations: 2.388 MB / 459.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009409/0.3839, allocations: 0.5843 MB / 460.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.3857, allocations: 0.8198 MB / 461.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.3868, allocations: 1.108 MB / 462.2 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002734/0.3895, allocations: 2.281 MB / 464.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008423/0.398, allocations: 7.933 MB / 472.4 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.398, allocations: 4 kB / 472.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.398, allocations: 0 / 472.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001283/0.3981, allocations: 0 / 472.4 MB, free: 2.395 MB / 366.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.01297/0.4111, allocations: 4.935 MB / 477.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4111, allocations: 12.03 kB / 477.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008449/0.4196, allocations: 1.29 MB / 478.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005075/0.4246, allocations: 2.321 MB / 481 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.4249, allocations: 316.4 kB / 481.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009297/0.4259, allocations: 411.9 kB / 481.7 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.4366, allocations: 5.481 MB / 487.1 MB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.716e-05/0.4367, allocations: 4 kB / 487.2 MB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004313/0.4371, allocations: 164 kB / 487.3 MB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.4373, allocations: 184.6 kB / 487.5 MB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008604/0.4459, allocations: 4.808 MB / 492.3 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02709/0.473, allocations: 19.34 MB / 0.4996 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005663/0.4787, allocations: 3.798 MB / 0.5034 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.4801, allocations: 0.7184 MB / 0.5041 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.4804, allocations: 203.1 kB / 0.5042 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.4804, allocations: 43.56 kB / 0.5043 GB, free: 5.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.016e-06/0.4804, allocations: 0 / 0.5043 GB, free: 5.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.00287/0.4833, allocations: 1.565 MB / 0.5058 GB, free: 4.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4834, allocations: 64.34 kB / 0.5059 GB, free: 4.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.4854, allocations: 1.342 MB / 0.5072 GB, free: 2.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-05/0.4855, allocations: 49.64 kB / 0.5072 GB, free: 2.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.4869, allocations: 1.819 MB / 0.509 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003778/0.4873, allocations: 380.9 kB / 0.5094 GB, free: 396 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007142/0.488, allocations: 459.7 kB / 0.5098 GB, free: 15.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4882, allocations: 349.9 kB / 0.5102 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.4895, allocations: 0.8317 MB / 0.511 GB, free: 14.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.4919, allocations: 1.831 MB / 0.5128 GB, free: 12.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/0.4957, allocations: 2.798 MB / 0.5155 GB, free: 9.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.4957, allocations: 8 kB / 0.5155 GB, free: 9.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004842/0.5005, allocations: 2.743 MB / 0.5182 GB, free: 6.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.5006, allocations: 20 kB / 0.5182 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/0.5006, allocations: 32 kB / 0.5182 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.078e-05/0.5007, allocations: 48.78 kB / 0.5183 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.5025, allocations: 0.5264 MB / 0.5188 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-05/0.5026, allocations: 67.73 kB / 0.5188 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.5042, allocations: 298 kB / 0.5191 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.5044, allocations: 112 kB / 0.5192 GB, free: 5.301 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.002906/0.5073, allocations: 1.484 MB / 0.5207 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/0.5076, allocations: 131.2 kB / 0.5208 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.5103, allocations: 1.455 MB / 0.5222 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001784/0.5121, allocations: 1.045 MB / 0.5233 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.5121, allocations: 4 kB / 0.5233 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.5121, allocations: 3.984 kB / 0.5233 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/0.5319, allocations: 13.75 MB / 0.5367 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/0.532, allocations: 20 kB / 0.5367 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008656/0.5328, allocations: 232.5 kB / 0.5369 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.938e-05/0.5328, allocations: 28 kB / 0.537 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.698e-05/0.5329, allocations: 51.92 kB / 0.537 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.371e-05/0.533, allocations: 43.86 kB / 0.537 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.802e-05/0.533, allocations: 35.86 kB / 0.5371 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003773/0.5368, allocations: 2.687 MB / 0.5397 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006968/0.5375, allocations: 328 kB / 0.54 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.5377, allocations: 51.97 kB / 0.5401 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007759/0.5384, allocations: 72.02 kB / 0.5401 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.5387, allocations: 143.3 kB / 0.5403 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.154e-05/0.5387, allocations: 63.98 kB / 0.5403 GB, free: 14.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001418/0.5402, allocations: 0.9062 MB / 0.5412 GB, free: 13.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5402, allocations: 0 / 0.5412 GB, free: 13.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002775/0.5429, allocations: 0.8793 MB / 0.5421 GB, free: 12.51 MB / 462.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.0003914/0.5433, allocations: 202.7 kB / 0.5423 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.5465, allocations: 1.84 MB / 0.5441 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.5465, allocations: 7.938 kB / 0.5441 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.5475, allocations: 0.615 MB / 0.5447 GB, free: 9.844 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.5498, allocations: 339.8 kB / 0.545 GB, free: 9.523 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.5622, allocations: 6.46 MB / 0.5513 GB, free: 2.727 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00292/0.5651, allocations: 2.805 MB / 0.5541 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001847/0.567, allocations: 0.7655 MB / 0.5548 GB, free: 15.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.5673, allocations: 111.4 kB / 0.5549 GB, free: 15 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5673, allocations: 0 / 0.5549 GB, free: 15 MB / 478.1 MB Notification: Performance of Templates: time 0.0357/0.603, allocations: 17.58 MB / 0.5721 GB, free: 13.5 MB / 494.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/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.439113423228264]