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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 110.9 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 188.5 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009747/0.0009748, allocations: 43.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3618, allocations: 49.44 MB / 401.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.0184/0.3802, allocations: 9.132 MB / 410.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007076/0.3873, allocations: 2.569 MB / 413.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.389, allocations: 67.81 kB / 413.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008444/0.3976, allocations: 3.731 MB / 416.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.4012, allocations: 0.9048 MB / 417.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.4036, allocations: 0.796 MB / 418.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004286/0.4079, allocations: 3.63 MB / 422.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01385/0.4218, allocations: 9.515 MB / 431.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.4249, allocations: 2.088 MB / 433.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003494/0.4284, allocations: 2.375 MB / 436.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001443/0.4299, allocations: 0.582 MB / 436.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.4322, allocations: 0.8005 MB / 437.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.4338, allocations: 1.103 MB / 438.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002986/0.4368, allocations: 2.28 MB / 441 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00758/0.4444, allocations: 7.892 MB / 448.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4444, allocations: 0 / 448.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4444, allocations: 0 / 448.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001823/0.4446, allocations: 0 / 448.9 MB, free: 9.371 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.01253/0.4572, allocations: 4.845 MB / 453.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4572, allocations: 8.031 kB / 453.7 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007408/0.4646, allocations: 1.276 MB / 455 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004196/0.4689, allocations: 2.314 MB / 457.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.4692, allocations: 316.4 kB / 457.6 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.4703, allocations: 404 kB / 458 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.4818, allocations: 5.473 MB / 463.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.741e-05/0.482, allocations: 11.98 kB / 463.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004384/0.4824, allocations: 164 kB / 463.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/0.4826, allocations: 176.6 kB / 463.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008834/0.4914, allocations: 4.8 MB / 468.6 MB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02734/0.5188, allocations: 19.05 MB / 487.7 MB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004499/0.5233, allocations: 3.887 MB / 491.6 MB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.5246, allocations: 0.7769 MB / 492.4 MB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.5248, allocations: 118.1 kB / 492.5 MB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.5248, allocations: 43.56 kB / 492.5 MB, free: 12.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.607e-06/0.5249, allocations: 0 / 492.5 MB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.00227/0.5271, allocations: 1.549 MB / 494.1 MB, free: 10.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.5272, allocations: 60.41 kB / 494.1 MB, free: 10.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.5289, allocations: 1.338 MB / 495.5 MB, free: 9.418 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.529, allocations: 41.7 kB / 495.5 MB, free: 9.371 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009359/0.5299, allocations: 1.753 MB / 497.2 MB, free: 7.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.5302, allocations: 366.9 kB / 497.6 MB, free: 7.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005431/0.5308, allocations: 443.4 kB / 498 MB, free: 6.785 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5309, allocations: 353.9 kB / 498.4 MB, free: 6.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.532, allocations: 0.8356 MB / 499.2 MB, free: 5.594 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.5337, allocations: 1.823 MB / 0.4893 GB, free: 3.289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003759/0.5375, allocations: 2.794 MB / 0.492 GB, free: 20 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.473e-05/0.5376, allocations: 11.94 kB / 0.492 GB, free: 8 kB / 414.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005823/0.5434, allocations: 2.738 MB / 0.4947 GB, free: 13.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.5435, allocations: 20 kB / 0.4947 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.666e-05/0.5435, allocations: 36 kB / 0.4948 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.96e-05/0.5436, allocations: 44 kB / 0.4948 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.5461, allocations: 0.5186 MB / 0.4953 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.267e-05/0.5462, allocations: 71.72 kB / 0.4954 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.5482, allocations: 293.5 kB / 0.4957 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/0.5484, allocations: 116 kB / 0.4958 GB, free: 12.17 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.003044/0.5515, allocations: 1.48 MB / 0.4972 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.5519, allocations: 126.4 kB / 0.4973 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.555, allocations: 1.454 MB / 0.4988 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002069/0.5571, allocations: 1.041 MB / 0.4998 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5572, allocations: 0 / 0.4998 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.5572, allocations: 3.984 kB / 0.4998 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02205/0.5792, allocations: 12.28 MB / 0.5118 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-05/0.5793, allocations: 24 kB / 0.5118 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.5805, allocations: 228.4 kB / 0.512 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.333e-05/0.5806, allocations: 28 kB / 0.512 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.5807, allocations: 51.98 kB / 0.5121 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-05/0.5807, allocations: 39.86 kB / 0.5121 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-05/0.5808, allocations: 35.81 kB / 0.5122 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/0.5849, allocations: 2.648 MB / 0.5148 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/0.5855, allocations: 335.2 kB / 0.5151 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.5857, allocations: 48.05 kB / 0.5151 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000719/0.5864, allocations: 75.94 kB / 0.5152 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.5866, allocations: 139.3 kB / 0.5153 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.5867, allocations: 55.98 kB / 0.5154 GB, free: 7.035 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001139/0.5878, allocations: 0.9023 MB / 0.5163 GB, free: 6.125 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5878, allocations: 0 / 0.5163 GB, free: 6.125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002384/0.5902, allocations: 0.874 MB / 0.5171 GB, free: 5.246 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.0003519/0.5906, allocations: 218.6 kB / 0.5173 GB, free: 5.023 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.5933, allocations: 1.921 MB / 0.5192 GB, free: 3.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.5934, allocations: 4 kB / 0.5192 GB, free: 3.094 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008679/0.5942, allocations: 0.6344 MB / 0.5198 GB, free: 2.465 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.5963, allocations: 339.8 kB / 0.5201 GB, free: 2.141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009818/0.6062, allocations: 6.285 MB / 0.5263 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002296/0.6085, allocations: 2.735 MB / 0.529 GB, free: 8.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/0.609, allocations: 131.4 kB / 0.5291 GB, free: 8.625 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.609, allocations: 0 / 0.5291 GB, free: 8.625 MB / 462.1 MB Notification: Performance of Templates: time 0.2357/0.8447, allocations: 35.91 MB / 0.5642 GB, free: 109.5 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches