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.001271/0.001271, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001151/0.001151, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.344/1.344, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001107/0.001107, allocations: 47.94 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08249/0.0836, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.1871/0.2708, allocations: 9.703 MB / 384.8 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00726/0.2781, allocations: 2.752 MB / 387.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.2804, allocations: 54.34 kB / 387.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009588/0.29, allocations: 3.769 MB / 391.4 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.2938, allocations: 1.084 MB / 392.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.2959, allocations: 0.8003 MB / 393.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00486/0.3007, allocations: 3.916 MB / 397.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.3133, allocations: 9.564 MB / 406.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003305/0.3167, allocations: 2.219 MB / 409 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.3199, allocations: 2.55 MB / 411.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007967/0.3207, allocations: 0.6043 MB / 412.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.3223, allocations: 0.8163 MB / 413 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009044/0.3232, allocations: 1.203 MB / 414.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002073/0.3253, allocations: 2.424 MB / 416.6 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00622/0.3315, allocations: 8.137 MB / 424.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3315, allocations: 0 / 424.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3315, allocations: 0 / 424.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.826e-05/0.3316, allocations: 0 / 424.7 MB, free: 14.03 MB / 350.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.01151/0.3432, allocations: 5.159 MB / 429.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.3432, allocations: 12.03 kB / 429.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/0.3585, allocations: 2.567 MB / 432.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/0.3626, allocations: 2.163 MB / 434.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.3629, allocations: 337.1 kB / 435 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.364, allocations: 443.9 kB / 435.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.375, allocations: 6.099 MB / 441.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8e-05/0.3751, allocations: 7.984 kB / 441.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004521/0.3755, allocations: 188 kB / 441.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.3757, allocations: 213.3 kB / 441.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009285/0.385, allocations: 5.779 MB / 447.7 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/0.4146, allocations: 21.16 MB / 468.8 MB, free: 1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008547/0.4232, allocations: 8.943 MB / 477.8 MB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.4248, allocations: 0.9727 MB / 478.8 MB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005242/0.43, allocations: 3.549 MB / 482.3 MB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4301, allocations: 42.73 kB / 482.3 MB, free: 1.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.4301, allocations: 4 kB / 482.3 MB, free: 1.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001087/0.4312, allocations: 0.6397 MB / 483 MB, free: 1.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4312, allocations: 55.41 kB / 483 MB, free: 1.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.4338, allocations: 1.983 MB / 485 MB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.4339, allocations: 37.69 kB / 485.1 MB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.4351, allocations: 2.177 MB / 487.2 MB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.4353, allocations: 146.5 kB / 487.4 MB, free: 12.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007218/0.436, allocations: 0.547 MB / 487.9 MB, free: 12.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4361, allocations: 349.9 kB / 488.3 MB, free: 11.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.4373, allocations: 0.8715 MB / 489.1 MB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/0.4394, allocations: 2.251 MB / 491.4 MB, free: 8.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003103/0.4425, allocations: 3.063 MB / 494.5 MB, free: 4.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.187e-05/0.4426, allocations: 20 kB / 494.5 MB, free: 4.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004507/0.4471, allocations: 3.121 MB / 497.6 MB, free: 1.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.4471, allocations: 28.88 kB / 497.6 MB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.345e-05/0.4472, allocations: 52 kB / 497.7 MB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-05/0.4473, allocations: 64 kB / 497.7 MB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.4491, allocations: 0.5966 MB / 498.3 MB, free: 408 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.533e-05/0.4492, allocations: 91.66 kB / 498.4 MB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.4511, allocations: 412.1 kB / 498.8 MB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.4513, allocations: 144 kB / 499 MB, free: 15.76 MB / 430.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.002278/0.4536, allocations: 1.566 MB / 0.4888 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.4538, allocations: 134.2 kB / 0.4889 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009583/0.4548, allocations: 0.6056 MB / 0.4895 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004136/0.4552, allocations: 317.5 kB / 0.4898 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4552, allocations: 4 kB / 0.4898 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4552, allocations: 7.938 kB / 0.4898 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005522/0.4608, allocations: 3.965 MB / 0.4937 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4608, allocations: 11.88 kB / 0.4937 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.461, allocations: 59.94 kB / 0.4938 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.4611, allocations: 4 kB / 0.4938 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.4611, allocations: 15.98 kB / 0.4938 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.46e-05/0.4611, allocations: 11.94 kB / 0.4938 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4611, allocations: 4 kB / 0.4938 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.4622, allocations: 0.8889 MB / 0.4947 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.4626, allocations: 255.3 kB / 0.4949 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.4628, allocations: 16.06 kB / 0.4949 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.4634, allocations: 43.94 kB / 0.495 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.4635, allocations: 27.86 kB / 0.495 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.4635, allocations: 16 kB / 0.495 GB, free: 7.516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001812/0.4653, allocations: 1.335 MB / 0.4963 GB, free: 6.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4653, allocations: 4 kB / 0.4963 GB, free: 6.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002647/0.468, allocations: 0.9284 MB / 0.4972 GB, free: 5.246 MB / 430.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.0002961/0.4683, allocations: 155.1 kB / 0.4974 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.4707, allocations: 1.674 MB / 0.499 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4707, allocations: 0 / 0.499 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.471, allocations: 179.7 kB / 0.4992 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.4726, allocations: 319 kB / 0.4995 GB, free: 2.934 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.4826, allocations: 5.91 MB / 0.5053 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/0.4853, allocations: 2.887 MB / 0.5081 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001782/0.4871, allocations: 0.7709 MB / 0.5088 GB, free: 9.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.4873, allocations: 107.4 kB / 0.5089 GB, free: 9.125 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4873, allocations: 0 / 0.5089 GB, free: 9.125 MB / 446.1 MB Notification: Performance of Templates: time 0.03061/0.5179, allocations: 17.7 MB / 0.5262 GB, free: 7.402 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/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