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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001215, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008516/0.0008515, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.414e-05/2.438e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09736, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3183/0.4157, allocations: 89.29 MB / 459.3 MB, free: 4.059 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4159, allocations: 80.83 kB / 459.4 MB, free: 4.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4887/0.9047, allocations: 141.3 MB / 0.5866 GB, free: 92.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.9047, allocations: 0 / 0.5866 GB, free: 92.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002139/0.9049, allocations: 89.14 kB / 0.5867 GB, free: 92.17 MB / 410.7 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.01411/0.919, allocations: 3.874 MB / 0.5905 GB, free: 89.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/0.9191, allocations: 10.09 kB / 0.5905 GB, free: 89.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.9303, allocations: 1.813 MB / 0.5923 GB, free: 89.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005854/0.9362, allocations: 2.433 MB / 0.5946 GB, free: 87.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005064/0.9367, allocations: 322.4 kB / 0.5949 GB, free: 87.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.9385, allocations: 416 kB / 0.5953 GB, free: 87.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/0.955, allocations: 6.83 MB / 0.602 GB, free: 81.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002042/0.9553, allocations: 0 / 0.602 GB, free: 81.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001567/0.9568, allocations: 178.7 kB / 0.6022 GB, free: 81.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000329/0.9572, allocations: 272.7 kB / 0.6024 GB, free: 81.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.9696, allocations: 5.736 MB / 0.608 GB, free: 75.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03839/1.008, allocations: 21.35 MB / 0.6289 GB, free: 54.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007973/1.016, allocations: 7.57 MB / 0.6363 GB, free: 45.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006063/1.022, allocations: 2.927 MB / 0.6391 GB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01671/1.039, allocations: 9.474 MB / 0.6484 GB, free: 33.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.039, allocations: 52.56 kB / 0.6484 GB, free: 33.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 5.009e-06/1.039, allocations: 0 / 0.6484 GB, free: 33.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.006308/1.045, allocations: 4.248 MB / 0.6526 GB, free: 28.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/1.045, allocations: 73.41 kB / 0.6527 GB, free: 28.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/1.047, allocations: 1.088 MB / 0.6537 GB, free: 27.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001997/1.047, allocations: 53.7 kB / 0.6538 GB, free: 27.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006963/1.048, allocations: 1.646 MB / 0.6554 GB, free: 26.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006913/1.049, allocations: 0.8927 MB / 0.6563 GB, free: 25.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/1.049, allocations: 48 kB / 0.6563 GB, free: 25.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002604/1.049, allocations: 493.8 kB / 0.6568 GB, free: 24.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/1.052, allocations: 1.903 MB / 0.6586 GB, free: 22.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/1.055, allocations: 2.681 MB / 0.6613 GB, free: 19.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/1.058, allocations: 2.378 MB / 0.6636 GB, free: 17.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/1.058, allocations: 4 kB / 0.6636 GB, free: 17.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.007704/1.066, allocations: 5.486 MB / 0.6689 GB, free: 11.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/1.066, allocations: 23.92 kB / 0.669 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/1.066, allocations: 24 kB / 0.669 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/1.067, allocations: 1.053 MB / 0.67 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/1.069, allocations: 0.5265 MB / 0.6705 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/1.072, allocations: 3.874 MB / 0.6743 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/1.075, allocations: 372.4 kB / 0.6747 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006056/1.075, allocations: 136 kB / 0.6748 GB, free: 5.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008804/1.076, allocations: 260.1 kB / 0.675 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006243/1.077, allocations: 153.9 kB / 0.6752 GB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006912/1.084, allocations: 4.62 MB / 0.6797 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006135/1.09, allocations: 4.221 MB / 0.6838 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/1.09, allocations: 0 / 0.6838 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/1.09, allocations: 7.969 kB / 0.6838 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02009/1.11, allocations: 9.495 MB / 0.6931 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/1.11, allocations: 0 / 0.6931 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/1.112, allocations: 247.7 kB / 0.6933 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/1.113, allocations: 1.033 MB / 0.6943 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003819/1.114, allocations: 55.95 kB / 0.6944 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2458/1.36, allocations: 3.827 MB / 0.6981 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.36, allocations: 4.062 kB / 0.6981 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/1.371, allocations: 7.076 MB / 0.7051 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008454/1.372, allocations: 292.7 kB / 0.7053 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/1.373, allocations: 33.72 kB / 0.7054 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.374, allocations: 83.61 kB / 0.7054 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005246/1.374, allocations: 203.9 kB / 0.7056 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/1.374, allocations: 68.56 kB / 0.7057 GB, free: 102.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001494/1.376, allocations: 0.783 MB / 0.7065 GB, free: 102 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.376, allocations: 0 / 0.7065 GB, free: 102 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003609/1.379, allocations: 0.996 MB / 0.7074 GB, free: 101.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005305/1.38, allocations: 211.1 kB / 0.7076 GB, free: 101.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007907/1.388, allocations: 4.433 MB / 0.712 GB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.388, allocations: 1 kB / 0.712 GB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003287/1.391, allocations: 2.047 MB / 0.714 GB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/1.393, allocations: 259.4 kB / 0.7142 GB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/1.407, allocations: 7.473 MB / 0.7215 GB, free: 100.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/1.41, allocations: 3.05 MB / 0.7245 GB, free: 99.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001812/1.412, allocations: 0.5765 MB / 0.7251 GB, free: 99.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/1.412, allocations: 108.7 kB / 0.7252 GB, free: 99.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/1.412, allocations: 0 / 0.7252 GB, free: 99.82 MB / 426.7 MB Notification: Performance of Templates: time 0.05952/1.471, allocations: 36.91 MB / 0.7612 GB, free: 90.64 MB / 426.7 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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches