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.001057/0.001057, allocations: 180 kB / 17.01 MB, free: 5.125 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.609/1.609, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0009022/0.0009021, allocations: 88.12 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002679, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2888, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.4007, allocations: 89.39 MB / 465.2 MB, free: 7.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4009, allocations: 79.95 kB / 465.3 MB, free: 7.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4562/0.8571, allocations: 141.5 MB / 0.5926 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.8572, allocations: 0 / 0.5926 GB, free: 21.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002039/0.8574, allocations: 87.94 kB / 0.5927 GB, free: 21.75 MB / 378.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.01256/0.87, allocations: 3.991 MB / 0.5966 GB, free: 17.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.87, allocations: 8.031 kB / 0.5966 GB, free: 17.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.8802, allocations: 1.817 MB / 0.5983 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005914/0.8862, allocations: 2.439 MB / 0.6007 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/0.8867, allocations: 320.5 kB / 0.601 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/0.8883, allocations: 419.9 kB / 0.6014 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.9039, allocations: 6.892 MB / 0.6082 GB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001985/0.9041, allocations: 7.984 kB / 0.6082 GB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001522/0.9056, allocations: 180 kB / 0.6083 GB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003425/0.906, allocations: 268.7 kB / 0.6086 GB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.9173, allocations: 5.841 MB / 0.6143 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04441/0.9617, allocations: 21.34 MB / 0.6351 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.9724, allocations: 7.596 MB / 0.6426 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2819/1.254, allocations: 9.441 MB / 0.6518 GB, free: 79.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/1.254, allocations: 53.16 kB / 0.6518 GB, free: 79.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 5.891e-06/1.254, allocations: 0 / 0.6518 GB, free: 79.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01127/1.266, allocations: 10.74 MB / 0.6623 GB, free: 73.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/1.266, allocations: 72.83 kB / 0.6624 GB, free: 73.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/1.268, allocations: 1.106 MB / 0.6635 GB, free: 73.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001752/1.268, allocations: 57.64 kB / 0.6635 GB, free: 73.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008926/1.269, allocations: 1.649 MB / 0.6651 GB, free: 72.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007791/1.27, allocations: 0.8845 MB / 0.666 GB, free: 72.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/1.27, allocations: 53.22 kB / 0.666 GB, free: 72.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002396/1.27, allocations: 492.6 kB / 0.6665 GB, free: 72.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/1.273, allocations: 1.933 MB / 0.6684 GB, free: 72.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002852/1.276, allocations: 2.697 MB / 0.671 GB, free: 71.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003312/1.279, allocations: 2.384 MB / 0.6734 GB, free: 71.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/1.279, allocations: 7.406 kB / 0.6734 GB, free: 71.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.009097/1.288, allocations: 5.54 MB / 0.6788 GB, free: 71.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/1.288, allocations: 24.97 kB / 0.6788 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.161e-05/1.288, allocations: 23.97 kB / 0.6788 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/1.29, allocations: 1.068 MB / 0.6799 GB, free: 71.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/1.292, allocations: 0.5234 MB / 0.6804 GB, free: 71.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/1.295, allocations: 3.88 MB / 0.6842 GB, free: 69.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.298, allocations: 374.7 kB / 0.6845 GB, free: 69.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005326/1.298, allocations: 137.2 kB / 0.6847 GB, free: 69.3 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 () * Number of clocked 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.003655/1.302, allocations: 1.534 MB / 0.6862 GB, free: 68.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006775/1.303, allocations: 167.1 kB / 0.6863 GB, free: 68.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007643/1.31, allocations: 4.639 MB / 0.6908 GB, free: 66.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006224/1.317, allocations: 4.25 MB / 0.695 GB, free: 64.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/1.317, allocations: 0 / 0.695 GB, free: 64.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/1.317, allocations: 11.02 kB / 0.695 GB, free: 64.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/1.336, allocations: 9.524 MB / 0.7043 GB, free: 60.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.336, allocations: 0 / 0.7043 GB, free: 60.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.337, allocations: 249.1 kB / 0.7045 GB, free: 60.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/1.339, allocations: 1.053 MB / 0.7056 GB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003521/1.339, allocations: 56.39 kB / 0.7056 GB, free: 60.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/1.343, allocations: 3.829 MB / 0.7094 GB, free: 57.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.343, allocations: 2.844 kB / 0.7094 GB, free: 57.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/1.354, allocations: 7.113 MB / 0.7163 GB, free: 54.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006943/1.355, allocations: 294.8 kB / 0.7166 GB, free: 54.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005076/1.355, allocations: 29.53 kB / 0.7166 GB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.356, allocations: 82.72 kB / 0.7167 GB, free: 54.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004053/1.357, allocations: 204.4 kB / 0.7169 GB, free: 54.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/1.357, allocations: 68.83 kB / 0.717 GB, free: 54.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001279/1.358, allocations: 0.7993 MB / 0.7177 GB, free: 53.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.358, allocations: 1.5 kB / 0.7177 GB, free: 53.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002917/1.361, allocations: 0.9923 MB / 0.7187 GB, free: 53.32 MB / 410.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 () * Number of clocked 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.0005162/1.362, allocations: 202.2 kB / 0.7189 GB, free: 53.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006332/1.368, allocations: 4.473 MB / 0.7233 GB, free: 49.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.368, allocations: 1.219 kB / 0.7233 GB, free: 49.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002746/1.371, allocations: 2.057 MB / 0.7253 GB, free: 47.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/1.372, allocations: 279 kB / 0.7256 GB, free: 47.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/1.387, allocations: 10.1 MB / 0.7354 GB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003125/1.39, allocations: 3.055 MB / 0.7384 GB, free: 35.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001676/1.392, allocations: 0.5703 MB / 0.739 GB, free: 35.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/1.392, allocations: 114.6 kB / 0.7391 GB, free: 35.42 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/1.392, allocations: 4 kB / 0.7391 GB, free: 35.41 MB / 410.7 MB Notification: Performance of Templates: time 0.05619/1.449, allocations: 40.59 MB / 0.7787 GB, free: 3.992 MB / 410.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