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.001225/0.001225, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.473/1.473, allocations: 205.4 MB / 224.2 MB, free: 9.035 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.0007645/0.0007646, allocations: 93.59 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002805, allocations: 8 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.188, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08921/0.2772, allocations: 89.52 MB / 466.6 MB, free: 7.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.2775, allocations: 83.95 kB / 466.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3888/0.6663, allocations: 141 MB / 0.5934 GB, free: 22.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6664, allocations: 0 / 0.5934 GB, free: 22.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001466/0.6665, allocations: 87.94 kB / 0.5935 GB, free: 21.95 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.009999/0.6765, allocations: 3.944 MB / 0.5973 GB, free: 17.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6766, allocations: 12.03 kB / 0.5973 GB, free: 17.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00945/0.6861, allocations: 1.818 MB / 0.5991 GB, free: 16.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003921/0.69, allocations: 2.456 MB / 0.6015 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.6903, allocations: 324.5 kB / 0.6018 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.6914, allocations: 412 kB / 0.6022 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.7019, allocations: 6.938 MB / 0.609 GB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.702, allocations: 15.84 kB / 0.609 GB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004703/0.7025, allocations: 176 kB / 0.6092 GB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002013/0.7027, allocations: 276.7 kB / 0.6094 GB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008012/0.7107, allocations: 5.833 MB / 0.6151 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/0.7413, allocations: 21.36 MB / 0.636 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007368/0.7487, allocations: 7.6 MB / 0.6434 GB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1652/0.9139, allocations: 2.95 MB / 0.6463 GB, free: 79.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/0.9259, allocations: 9.469 MB / 0.6555 GB, free: 78.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.926, allocations: 59.38 kB / 0.6556 GB, free: 78.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 5.16e-06/0.926, allocations: 0 / 0.6556 GB, free: 78.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.009809/0.9358, allocations: 6.623 MB / 0.662 GB, free: 78.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.9359, allocations: 71.69 kB / 0.6621 GB, free: 78.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.9375, allocations: 1.224 MB / 0.6633 GB, free: 77.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.9377, allocations: 57.33 kB / 0.6634 GB, free: 77.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006952/0.9384, allocations: 1.64 MB / 0.665 GB, free: 77.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006635/0.9391, allocations: 0.8901 MB / 0.6658 GB, free: 76.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.9392, allocations: 52.97 kB / 0.6659 GB, free: 76.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.9395, allocations: 493.6 kB / 0.6664 GB, free: 76.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/0.9421, allocations: 1.925 MB / 0.6682 GB, free: 76.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00274/0.9449, allocations: 2.707 MB / 0.6709 GB, free: 75.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005123/0.95, allocations: 4.762 MB / 0.6755 GB, free: 74.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.95, allocations: 3.812 kB / 0.6755 GB, free: 74.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.006806/0.9569, allocations: 5.537 MB / 0.6809 GB, free: 74.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.9569, allocations: 12.75 kB / 0.681 GB, free: 74.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.725e-05/0.957, allocations: 31.25 kB / 0.681 GB, free: 74.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.9584, allocations: 1.07 MB / 0.682 GB, free: 73.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.9602, allocations: 0.53 MB / 0.6825 GB, free: 73.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.9632, allocations: 3.878 MB / 0.6863 GB, free: 71.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.965, allocations: 358.8 kB / 0.6867 GB, free: 70.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.9653, allocations: 143.8 kB / 0.6868 GB, free: 70.96 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.002462/0.9678, allocations: 1.539 MB / 0.6883 GB, free: 70.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.9681, allocations: 158.2 kB / 0.6885 GB, free: 70.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005757/0.9738, allocations: 4.64 MB / 0.693 GB, free: 68.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00464/0.9785, allocations: 4.244 MB / 0.6971 GB, free: 66.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.9785, allocations: 0 / 0.6971 GB, free: 66.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.9785, allocations: 11.25 kB / 0.6972 GB, free: 66.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.9897, allocations: 9.537 MB / 0.7065 GB, free: 62.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.9898, allocations: 0 / 0.7065 GB, free: 62.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.9908, allocations: 240.3 kB / 0.7067 GB, free: 62.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.9922, allocations: 1.042 MB / 0.7077 GB, free: 61.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.9924, allocations: 57.62 kB / 0.7078 GB, free: 61.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.9953, allocations: 3.844 MB / 0.7115 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9953, allocations: 4 kB / 0.7115 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007818/1.003, allocations: 7.104 MB / 0.7185 GB, free: 55.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/1.004, allocations: 309.5 kB / 0.7188 GB, free: 55.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/1.004, allocations: 32 kB / 0.7188 GB, free: 55.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007706/1.005, allocations: 77.7 kB / 0.7189 GB, free: 55.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/1.005, allocations: 212.2 kB / 0.7191 GB, free: 55.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.005, allocations: 67.08 kB / 0.7191 GB, free: 55.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008957/1.006, allocations: 0.7984 MB / 0.7199 GB, free: 54.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.006, allocations: 0 / 0.7199 GB, free: 54.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002194/1.008, allocations: 0.9992 MB / 0.7209 GB, free: 53.46 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.0003601/1.009, allocations: 191.6 kB / 0.7211 GB, free: 53.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005502/1.014, allocations: 4.475 MB / 0.7254 GB, free: 49.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.014, allocations: 0 / 0.7254 GB, free: 49.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002513/1.017, allocations: 2.056 MB / 0.7274 GB, free: 47.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.018, allocations: 302.2 kB / 0.7277 GB, free: 47.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.029, allocations: 9.551 MB / 0.7371 GB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/1.031, allocations: 2.989 MB / 0.74 GB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001558/1.033, allocations: 0.5727 MB / 0.7405 GB, free: 35.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/1.033, allocations: 114.7 kB / 0.7406 GB, free: 35.89 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/1.033, allocations: 0 / 0.7406 GB, free: 35.89 MB / 410.7 MB Notification: Performance of Templates: time 0.05188/1.085, allocations: 40.73 MB / 0.7804 GB, free: 4.078 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/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_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches