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.001507/0.001507, allocations: 186.9 kB / 16.41 MB, free: 5.727 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.888/1.888, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001102/0.001101, allocations: 86.06 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004138, allocations: 8 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3279, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.4708, allocations: 89.39 MB / 463.9 MB, free: 7.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.4711, allocations: 83.95 kB / 464 MB, free: 7.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6787/1.15, allocations: 141.5 MB / 0.5913 GB, free: 21.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.916e-06/1.15, allocations: 0 / 0.5913 GB, free: 21.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001933/1.15, allocations: 87.94 kB / 0.5914 GB, free: 21.89 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.01768/1.168, allocations: 3.983 MB / 0.5953 GB, free: 17.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.168, allocations: 12.03 kB / 0.5953 GB, free: 17.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/1.184, allocations: 1.821 MB / 0.5971 GB, free: 16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006733/1.19, allocations: 2.443 MB / 0.5995 GB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005006/1.191, allocations: 320.5 kB / 0.5998 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001763/1.193, allocations: 415.9 kB / 0.6002 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02019/1.213, allocations: 6.899 MB / 0.6069 GB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000216/1.213, allocations: 4 kB / 0.6069 GB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001443/1.215, allocations: 184 kB / 0.6071 GB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000335/1.215, allocations: 272.7 kB / 0.6074 GB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/1.232, allocations: 5.833 MB / 0.613 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05799/1.29, allocations: 21.34 MB / 0.6339 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/1.304, allocations: 7.592 MB / 0.6413 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3064/1.61, allocations: 9.455 MB / 0.6505 GB, free: 78.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/1.61, allocations: 50.38 kB / 0.6506 GB, free: 78.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 6.682e-06/1.61, allocations: 0 / 0.6506 GB, free: 78.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01955/1.63, allocations: 10.75 MB / 0.6611 GB, free: 73.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/1.63, allocations: 72.56 kB / 0.6611 GB, free: 73.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/1.632, allocations: 1.104 MB / 0.6622 GB, free: 73.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000578/1.633, allocations: 58.02 kB / 0.6623 GB, free: 73.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009902/1.634, allocations: 1.669 MB / 0.6639 GB, free: 72.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001359/1.635, allocations: 0.8815 MB / 0.6648 GB, free: 71.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004199/1.635, allocations: 54.03 kB / 0.6648 GB, free: 71.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000289/1.636, allocations: 449.5 kB / 0.6653 GB, free: 71.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005092/1.641, allocations: 1.936 MB / 0.6671 GB, free: 71.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005621/1.646, allocations: 2.694 MB / 0.6698 GB, free: 70.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006217/1.653, allocations: 2.389 MB / 0.6721 GB, free: 70.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.711e-05/1.653, allocations: 7.219 kB / 0.6721 GB, free: 70.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.0159/1.669, allocations: 5.501 MB / 0.6775 GB, free: 70.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/1.669, allocations: 14.09 kB / 0.6775 GB, free: 70.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.891e-05/1.669, allocations: 22.5 kB / 0.6775 GB, free: 70.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/1.672, allocations: 1.082 MB / 0.6786 GB, free: 70.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/1.676, allocations: 0.5216 MB / 0.6791 GB, free: 70.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/1.681, allocations: 3.88 MB / 0.6829 GB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/1.685, allocations: 373.7 kB / 0.6832 GB, free: 68.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006558/1.686, allocations: 137.7 kB / 0.6834 GB, free: 68.58 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.004024/1.69, allocations: 1.546 MB / 0.6849 GB, free: 68.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005698/1.69, allocations: 156.6 kB / 0.685 GB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.702, allocations: 4.645 MB / 0.6896 GB, free: 65.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01045/1.712, allocations: 4.248 MB / 0.6937 GB, free: 64.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/1.712, allocations: 0 / 0.6937 GB, free: 64.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.574e-05/1.712, allocations: 10.41 kB / 0.6937 GB, free: 64.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0229/1.735, allocations: 9.517 MB / 0.703 GB, free: 59.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/1.735, allocations: 2.906 kB / 0.703 GB, free: 59.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/1.738, allocations: 250.6 kB / 0.7033 GB, free: 59.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002724/1.74, allocations: 1.043 MB / 0.7043 GB, free: 59.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005141/1.741, allocations: 59.7 kB / 0.7043 GB, free: 59.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005239/1.746, allocations: 3.84 MB / 0.7081 GB, free: 57.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.746, allocations: 3.969 kB / 0.7081 GB, free: 57.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/1.763, allocations: 7.099 MB / 0.715 GB, free: 53.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006889/1.763, allocations: 304.5 kB / 0.7153 GB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008303/1.764, allocations: 35.19 kB / 0.7153 GB, free: 53.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/1.766, allocations: 80.81 kB / 0.7154 GB, free: 53.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006288/1.766, allocations: 201.7 kB / 0.7156 GB, free: 53.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002509/1.767, allocations: 70.44 kB / 0.7157 GB, free: 53.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001533/1.768, allocations: 0.8002 MB / 0.7165 GB, free: 53.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.333e-06/1.768, allocations: 3.938 kB / 0.7165 GB, free: 53.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003752/1.772, allocations: 0.9975 MB / 0.7174 GB, free: 52.88 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.0008447/1.773, allocations: 198.1 kB / 0.7176 GB, free: 52.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01117/1.784, allocations: 4.483 MB / 0.722 GB, free: 48.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.784, allocations: 0 / 0.722 GB, free: 48.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005579/1.79, allocations: 2.05 MB / 0.724 GB, free: 47.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/1.793, allocations: 275.2 kB / 0.7243 GB, free: 46.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02207/1.815, allocations: 10 MB / 0.734 GB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00357/1.818, allocations: 2.971 MB / 0.7369 GB, free: 35.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.819, allocations: 138.9 kB / 0.7371 GB, free: 35.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/1.819, allocations: 0 / 0.7371 GB, free: 35.47 MB / 410.7 MB Notification: Performance of Templates: time 0.4903/2.31, allocations: 109.7 MB / 0.8442 GB, free: 105.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