Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.0009874/0.0009874, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 225 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 59.92 kB / 281.3 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08543/0.08685, allocations: 46.63 MB / 328 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01026/0.09714, allocations: 9.693 MB / 337.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005937/0.1031, allocations: 2.738 MB / 340.4 MB, free: 7.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.1049, allocations: 59.81 kB / 340.4 MB, free: 7.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008112/0.113, allocations: 3.765 MB / 344.2 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004008/0.117, allocations: 1.072 MB / 345.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.1193, allocations: 0.8102 MB / 346.1 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004492/0.1238, allocations: 3.883 MB / 350 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01259/0.1364, allocations: 9.592 MB / 359.6 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.1396, allocations: 2.217 MB / 361.8 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00442/0.144, allocations: 2.558 MB / 364.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001516/0.1455, allocations: 0.6016 MB / 364.9 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.1479, allocations: 0.8123 MB / 365.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.1492, allocations: 1.204 MB / 367 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003392/0.1527, allocations: 2.412 MB / 369.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008351/0.161, allocations: 8.094 MB / 377.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1611, allocations: 0 / 377.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1611, allocations: 0 / 377.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002592/0.1613, allocations: 0 / 377.5 MB, free: 2.699 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.163/0.3243, allocations: 5.157 MB / 382.6 MB, free: 48.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3244, allocations: 9.406 kB / 382.6 MB, free: 48.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/0.3405, allocations: 2.574 MB / 385.2 MB, free: 48.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/0.3452, allocations: 2.154 MB / 387.4 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.3456, allocations: 334.8 kB / 387.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001443/0.347, allocations: 444.7 kB / 388.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.3585, allocations: 6.111 MB / 394.2 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.3587, allocations: 2.031 kB / 394.2 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004696/0.3592, allocations: 184.4 kB / 394.4 MB, free: 43.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000235/0.3594, allocations: 217 kB / 394.6 MB, free: 43.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00946/0.3689, allocations: 5.783 MB / 400.4 MB, free: 40.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/0.3954, allocations: 21.4 MB / 421.8 MB, free: 18.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006458/0.4019, allocations: 8.954 MB / 430.8 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.4032, allocations: 0.9718 MB / 431.7 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004279/0.4075, allocations: 3.555 MB / 435.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.4076, allocations: 34.73 kB / 435.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 2.394e-06/0.4076, allocations: 0 / 435.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009043/0.4085, allocations: 0.6405 MB / 436 MB, free: 2.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.4085, allocations: 59.41 kB / 436 MB, free: 2.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.4106, allocations: 1.986 MB / 438 MB, free: 332 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.4107, allocations: 29.7 kB / 438 MB, free: 296 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.4119, allocations: 2.179 MB / 440.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.4121, allocations: 150.5 kB / 440.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007243/0.4128, allocations: 0.5392 MB / 440.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4129, allocations: 353.9 kB / 441.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.4142, allocations: 0.8793 MB / 442.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.4164, allocations: 2.246 MB / 444.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.4197, allocations: 3.063 MB / 447.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/0.4198, allocations: 16 kB / 447.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004768/0.4245, allocations: 3.121 MB / 450.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.4246, allocations: 24 kB / 450.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-05/0.4247, allocations: 52 kB / 450.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-05/0.4247, allocations: 64.94 kB / 450.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.4265, allocations: 0.5894 MB / 451.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.336e-05/0.4266, allocations: 99.64 kB / 451.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.4287, allocations: 412.1 kB / 451.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.4289, allocations: 148 kB / 452 MB, free: 0.9688 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * 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.00236/0.4312, allocations: 1.558 MB / 453.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.4315, allocations: 134.3 kB / 453.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.4326, allocations: 0.6095 MB / 454.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004229/0.433, allocations: 325.4 kB / 454.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.433, allocations: 0 / 454.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.433, allocations: 7.938 kB / 454.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005938/0.439, allocations: 3.963 MB / 458.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.439, allocations: 20.02 kB / 458.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.4393, allocations: 55.91 kB / 458.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.4393, allocations: 8 kB / 458.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.4393, allocations: 12 kB / 458.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.4394, allocations: 7.938 kB / 458.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4394, allocations: 4 kB / 458.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4405, allocations: 0.8997 MB / 459.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/0.4409, allocations: 259.4 kB / 459.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.4411, allocations: 12 kB / 459.8 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/0.4417, allocations: 43.94 kB / 459.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.4418, allocations: 35.78 kB / 459.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.4418, allocations: 15.98 kB / 459.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001779/0.4436, allocations: 1.343 MB / 461.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4436, allocations: 0 / 461.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002655/0.4463, allocations: 0.9232 MB / 462.2 MB, free: 6.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (26): * Single equations (assignments): 25 * 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.0003171/0.4466, allocations: 163.8 kB / 462.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002732/0.4493, allocations: 1.672 MB / 464 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.4494, allocations: 4 kB / 464 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.4496, allocations: 171.7 kB / 464.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.4513, allocations: 302.1 kB / 464.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.4616, allocations: 5.894 MB / 470.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002512/0.4641, allocations: 2.819 MB / 473.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/0.4647, allocations: 135.4 kB / 473.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4647, allocations: 0 / 473.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of Templates: time 0.05958/0.5243, allocations: 37.39 MB / 0.4987 GB, free: 5.738 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches