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.001008/0.001008, allocations: 91.19 kB / 16.65 MB, free: 6.535 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.001189/0.001189, allocations: 176.5 kB / 17.56 MB, free: 6.18 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.365/1.365, allocations: 223.2 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002839, allocations: 15.92 kB / 301.4 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09754, allocations: 50.41 MB / 351.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009868/0.1075, allocations: 8.396 MB / 360.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005714/0.1132, allocations: 2.535 MB / 362.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.1148, allocations: 63.81 kB / 362.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.1168, allocations: 0.5289 MB / 363.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003214/0.12, allocations: 0.7971 MB / 364.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.1222, allocations: 0.7309 MB / 364.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004336/0.1265, allocations: 3.462 MB / 368.3 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1894/0.316, allocations: 9.868 MB / 378.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.3183, allocations: 1.453 MB / 379.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/0.3209, allocations: 1.753 MB / 381.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006015/0.3215, allocations: 249.6 kB / 381.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.3228, allocations: 457.9 kB / 382.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005543/0.3234, allocations: 0.6669 MB / 382.8 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.3253, allocations: 1.809 MB / 384.6 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005947/0.3312, allocations: 7.413 MB / 392 MB, free: 3.805 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3312, allocations: 3.562 kB / 392 MB, free: 3.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3313, allocations: 1.219 kB / 392 MB, free: 3.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001384/0.3314, allocations: 0 / 392 MB, free: 3.805 MB / 302.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.009921/0.3413, allocations: 4.005 MB / 396 MB, free: 1.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3414, allocations: 8.719 kB / 396 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007868/0.3493, allocations: 1.271 MB / 397.3 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/0.3533, allocations: 2.228 MB / 399.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.3536, allocations: 312.5 kB / 399.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009175/0.3545, allocations: 417.5 kB / 400.2 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.365, allocations: 5.492 MB / 405.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-05/0.3651, allocations: 6.422 kB / 405.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004348/0.3656, allocations: 175.1 kB / 405.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/0.3658, allocations: 176.6 kB / 406.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009736/0.3755, allocations: 4.816 MB / 410.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0302/0.4057, allocations: 19.37 MB / 430.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/0.4109, allocations: 3.934 MB / 434.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.4123, allocations: 0.8209 MB / 435 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.4125, allocations: 113.2 kB / 435.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4125, allocations: 51.44 kB / 435.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.126e-06/0.4126, allocations: 0 / 435.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002748/0.4153, allocations: 1.669 MB / 436.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4154, allocations: 64.41 kB / 436.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.4174, allocations: 1.338 MB / 438.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.399e-05/0.4175, allocations: 41.7 kB / 438.3 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.4186, allocations: 1.748 MB / 440 MB, free: 7.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.419, allocations: 385.6 kB / 440.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.4193, allocations: 182 kB / 440.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4194, allocations: 345.9 kB / 440.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.4207, allocations: 0.8631 MB / 441.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.4227, allocations: 1.87 MB / 443.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/0.426, allocations: 2.871 MB / 446.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/0.426, allocations: 8 kB / 446.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004305/0.4303, allocations: 2.814 MB / 449.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.4304, allocations: 23.94 kB / 449.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.145e-05/0.4304, allocations: 32 kB / 449.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.309e-05/0.4305, allocations: 48.72 kB / 449.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.4322, allocations: 0.524 MB / 450 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.098e-05/0.4323, allocations: 70.59 kB / 450 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.4337, allocations: 289.2 kB / 450.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.4338, allocations: 112 kB / 450.4 MB, free: 12.27 MB / 366.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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002463/0.4363, allocations: 1.482 MB / 451.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/0.4366, allocations: 130.3 kB / 452 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.4391, allocations: 1.544 MB / 453.6 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001585/0.4407, allocations: 1.111 MB / 454.7 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4407, allocations: 3.984 kB / 454.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.4407, allocations: 7.984 kB / 454.7 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/0.4579, allocations: 12.39 MB / 467.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/0.458, allocations: 25.69 kB / 467.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008268/0.4588, allocations: 230.8 kB / 467.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.804e-05/0.4589, allocations: 24 kB / 467.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.4589, allocations: 56 kB / 467.4 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.234e-05/0.459, allocations: 44.41 kB / 467.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.341e-05/0.459, allocations: 39.75 kB / 467.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.4626, allocations: 2.785 MB / 470.3 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/0.4633, allocations: 343.1 kB / 470.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.4635, allocations: 52.05 kB / 470.7 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/0.4643, allocations: 75.88 kB / 470.8 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.4645, allocations: 145.5 kB / 470.9 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/0.4646, allocations: 56 kB / 471 MB, free: 6.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001405/0.466, allocations: 0.9062 MB / 471.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.466, allocations: 3.938 kB / 471.9 MB, free: 6.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002937/0.469, allocations: 0.8663 MB / 472.7 MB, free: 5.184 MB / 382.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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004747/0.4695, allocations: 227.1 kB / 472.9 MB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003177/0.4726, allocations: 1.949 MB / 474.9 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.4727, allocations: 4 kB / 474.9 MB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.4737, allocations: 0.6766 MB / 475.6 MB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005178/0.4789, allocations: 339.5 kB / 475.9 MB, free: 2.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.4912, allocations: 8.164 MB / 484.1 MB, free: 9.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002764/0.494, allocations: 2.809 MB / 486.9 MB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002033/0.4961, allocations: 0.7617 MB / 487.6 MB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.4964, allocations: 115 kB / 487.8 MB, free: 6.047 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4964, allocations: 0 / 487.8 MB, free: 6.047 MB / 398.1 MB Notification: Performance of Templates: time 0.0308/0.5272, allocations: 16.54 MB / 0.4925 GB, free: 5.676 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/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