Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001857/0.001857, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.841/2.841, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001175/0.001176, allocations: 89.42 kB / 271.9 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005817/0.0005819, allocations: 15.98 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5247/0.5253, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.715, allocations: 89.51 MB / 465.2 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005392/0.7157, allocations: 83.95 kB / 465.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.861/1.577, allocations: 141 MB / 0.5921 GB, free: 22.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.874e-06/1.577, allocations: 4 kB / 0.5921 GB, free: 22.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003681/1.577, allocations: 87.94 kB / 0.5922 GB, free: 22.04 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.02338/1.601, allocations: 3.948 MB / 0.596 GB, free: 18.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/1.601, allocations: 8.031 kB / 0.596 GB, free: 18.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01976/1.62, allocations: 1.822 MB / 0.5978 GB, free: 16.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/1.631, allocations: 2.46 MB / 0.6002 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009944/1.632, allocations: 320.5 kB / 0.6005 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003069/1.635, allocations: 412 kB / 0.6009 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03244/1.668, allocations: 6.942 MB / 0.6077 GB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003045/1.668, allocations: 7.891 kB / 0.6077 GB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00255/1.671, allocations: 183.9 kB / 0.6079 GB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005927/1.671, allocations: 268.7 kB / 0.6081 GB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02246/1.694, allocations: 5.833 MB / 0.6138 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07982/1.774, allocations: 21.36 MB / 0.6347 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01782/1.792, allocations: 7.601 MB / 0.6421 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.4863/2.278, allocations: 2.944 MB / 0.645 GB, free: 79.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0263/2.305, allocations: 9.47 MB / 0.6542 GB, free: 77.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.999e-05/2.305, allocations: 52.38 kB / 0.6543 GB, free: 77.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 1.21e-05/2.305, allocations: 2.719 kB / 0.6543 GB, free: 77.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.02417/2.329, allocations: 6.635 MB / 0.6608 GB, free: 77.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/2.329, allocations: 74.28 kB / 0.6608 GB, free: 77.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00332/2.332, allocations: 1.211 MB / 0.662 GB, free: 77.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009222/2.333, allocations: 56.33 kB / 0.6621 GB, free: 77.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002512/2.336, allocations: 1.651 MB / 0.6637 GB, free: 76.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002956/2.339, allocations: 0.8775 MB / 0.6645 GB, free: 75.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008273/2.34, allocations: 60.22 kB / 0.6646 GB, free: 75.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001112/2.341, allocations: 488.4 kB / 0.6651 GB, free: 75.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005276/2.346, allocations: 1.929 MB / 0.667 GB, free: 75.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007632/2.354, allocations: 2.705 MB / 0.6696 GB, free: 74.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/2.369, allocations: 4.758 MB / 0.6742 GB, free: 73.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.954e-05/2.369, allocations: 6.438 kB / 0.6743 GB, free: 73.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.02159/2.391, allocations: 5.546 MB / 0.6797 GB, free: 73.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/2.391, allocations: 11.81 kB / 0.6797 GB, free: 73.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-05/2.391, allocations: 24.22 kB / 0.6797 GB, free: 73.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/2.394, allocations: 1.068 MB / 0.6807 GB, free: 73.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/2.398, allocations: 0.5234 MB / 0.6813 GB, free: 73.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/2.405, allocations: 3.876 MB / 0.685 GB, free: 70.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007493/2.413, allocations: 371.3 kB / 0.6854 GB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/2.415, allocations: 138.2 kB / 0.6855 GB, free: 70.34 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.007117/2.422, allocations: 1.53 MB / 0.687 GB, free: 69.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008785/2.423, allocations: 166.2 kB / 0.6872 GB, free: 69.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/2.436, allocations: 4.65 MB / 0.6917 GB, free: 67.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01247/2.449, allocations: 4.243 MB / 0.6959 GB, free: 65.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-05/2.449, allocations: 3.797 kB / 0.6959 GB, free: 65.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-05/2.449, allocations: 7.5 kB / 0.6959 GB, free: 65.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02838/2.477, allocations: 9.536 MB / 0.7052 GB, free: 61.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.739e-05/2.478, allocations: 2.531 kB / 0.7052 GB, free: 61.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/2.479, allocations: 248.3 kB / 0.7054 GB, free: 61.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002351/2.482, allocations: 1.045 MB / 0.7064 GB, free: 61.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006434/2.483, allocations: 56.69 kB / 0.7065 GB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005111/2.488, allocations: 3.836 MB / 0.7102 GB, free: 58.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/2.488, allocations: 4 kB / 0.7103 GB, free: 58.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/2.504, allocations: 7.109 MB / 0.7172 GB, free: 55.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/2.505, allocations: 295.1 kB / 0.7175 GB, free: 54.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009071/2.506, allocations: 35.62 kB / 0.7175 GB, free: 54.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/2.507, allocations: 81.5 kB / 0.7176 GB, free: 54.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006407/2.508, allocations: 204 kB / 0.7178 GB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/2.508, allocations: 67.25 kB / 0.7178 GB, free: 54.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001822/2.51, allocations: 0.7983 MB / 0.7186 GB, free: 53.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/2.51, allocations: 0 / 0.7186 GB, free: 53.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004998/2.515, allocations: 0.9969 MB / 0.7196 GB, free: 52.96 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.0008304/2.516, allocations: 201.1 kB / 0.7198 GB, free: 52.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01176/2.528, allocations: 4.473 MB / 0.7242 GB, free: 48.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/2.528, allocations: 5.812 kB / 0.7242 GB, free: 48.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00604/2.534, allocations: 2.055 MB / 0.7262 GB, free: 47.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/2.537, allocations: 300.8 kB / 0.7265 GB, free: 46.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02282/2.56, allocations: 9.453 MB / 0.7357 GB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003868/2.564, allocations: 2.912 MB / 0.7385 GB, free: 36.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/2.565, allocations: 138.5 kB / 0.7387 GB, free: 35.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.695e-06/2.565, allocations: 0 / 0.7387 GB, free: 35.88 MB / 410.7 MB Notification: Performance of Templates: time 0.7106/3.276, allocations: 114.5 MB / 0.8505 GB, free: 104.4 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches