Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 183.5 kB / 13.19 MB, free: 2.129 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.422/1.422, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008592/0.0008591, allocations: 89.19 kB / 267 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3553/0.3553, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.511e-05, allocations: 0 / 425.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 58.84 MB / 484.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3943/0.5127, allocations: 107.2 MB / 0.5775 GB, free: 14.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.513, allocations: 82.27 kB / 0.5775 GB, free: 14.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296/1.809, allocations: 387.9 MB / 0.9563 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.894e-06/1.809, allocations: 0 / 0.9563 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006582/1.81, allocations: 255.6 kB / 0.9566 GB, free: 61.27 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.04175/1.851, allocations: 10.56 MB / 0.9669 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/1.851, allocations: 10.94 kB / 0.9669 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04305/1.895, allocations: 8.388 MB / 0.9751 GB, free: 57.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01919/1.914, allocations: 7.478 MB / 0.9824 GB, free: 56.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001393/1.915, allocations: 0.8631 MB / 0.9832 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006009/1.921, allocations: 1.125 MB / 0.9843 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05488/1.976, allocations: 20.94 MB / 1.005 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005165/1.977, allocations: 21.28 kB / 1.005 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004744/1.981, allocations: 497.3 kB / 1.005 GB, free: 50.83 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009219/1.982, allocations: 0.8452 MB / 1.006 GB, free: 50.63 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04066/2.023, allocations: 19.58 MB / 1.025 GB, free: 42 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5052/2.528, allocations: 60.27 MB / 1.084 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02664/2.555, allocations: 23.89 MB / 1.107 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01491/2.57, allocations: 10.12 MB / 1.117 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/2.571, allocations: 359.8 kB / 1.118 GB, free: 32.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/2.571, allocations: 142.1 kB / 1.118 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1196): time 1.535e-05/2.571, allocations: 0 / 1.118 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1196): time 0.03312/2.604, allocations: 17.9 MB / 1.135 GB, free: 31.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/2.605, allocations: 159.1 kB / 1.135 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008772/2.613, allocations: 2.781 MB / 1.138 GB, free: 47.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002543/2.616, allocations: 185.3 kB / 1.138 GB, free: 47.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002703/2.619, allocations: 3.475 MB / 1.142 GB, free: 46.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005478/2.624, allocations: 3.894 MB / 1.145 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002238/2.626, allocations: 170.5 kB / 1.146 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001286/2.628, allocations: 0.7186 MB / 1.146 GB, free: 43.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01192/2.64, allocations: 7.003 MB / 1.153 GB, free: 43.63 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/2.653, allocations: 7.925 MB / 1.161 GB, free: 43.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/2.668, allocations: 8.279 MB / 1.169 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.408e-05/2.668, allocations: 3.688 kB / 1.169 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.04167/2.709, allocations: 18.68 MB / 1.187 GB, free: 35.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/2.71, allocations: 13.16 kB / 1.187 GB, free: 35.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.397e-05/2.71, allocations: 10.94 kB / 1.187 GB, free: 35.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006183/2.716, allocations: 3.741 MB / 1.191 GB, free: 34.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009375/2.725, allocations: 1.91 MB / 1.193 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/2.745, allocations: 21.53 MB / 1.214 GB, free: 17.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008633/2.754, allocations: 1.132 MB / 1.215 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003554/2.757, allocations: 335.7 kB / 1.215 GB, free: 17.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (933): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.007587/2.765, allocations: 0.5386 MB / 1.216 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003975/2.769, allocations: 0.5637 MB / 1.216 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04577/2.815, allocations: 20.25 MB / 1.236 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005418/2.815, allocations: 286.3 kB / 1.236 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-05/2.815, allocations: 3.969 kB / 1.236 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002978/2.816, allocations: 56.27 kB / 1.236 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1089/2.924, allocations: 39.86 MB / 1.275 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001389/2.925, allocations: 0 / 1.275 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008818/2.933, allocations: 1.777 MB / 1.277 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006934/2.94, allocations: 3.711 MB / 1.281 GB, free: 9.098 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004171/2.945, allocations: 250.4 kB / 1.281 GB, free: 8.883 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3987/3.343, allocations: 21.41 MB / 1.302 GB, free: 94.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/3.343, allocations: 2.156 kB / 1.302 GB, free: 94.72 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06045/3.404, allocations: 30.15 MB / 1.331 GB, free: 94.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/3.406, allocations: 0.856 MB / 1.332 GB, free: 93.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003789/3.41, allocations: 170.4 kB / 1.332 GB, free: 93.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007171/3.417, allocations: 0.5888 MB / 1.333 GB, free: 93.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003838/3.421, allocations: 0.8459 MB / 1.334 GB, free: 93.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002853/3.424, allocations: 323.6 kB / 1.334 GB, free: 93.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00498/3.429, allocations: 2.153 MB / 1.336 GB, free: 93.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.91e-07/3.429, allocations: 1.219 kB / 1.336 GB, free: 93.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01435/3.443, allocations: 3.091 MB / 1.339 GB, free: 93.25 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (921): * Single equations (assignments): 806 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003583/3.447, allocations: 412.9 kB / 1.34 GB, free: 93.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03666/3.484, allocations: 17.6 MB / 1.357 GB, free: 92.22 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/3.484, allocations: 0 / 1.357 GB, free: 92.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01881/3.503, allocations: 9.724 MB / 1.366 GB, free: 90.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008968/3.512, allocations: 0.9803 MB / 1.367 GB, free: 89.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0623/3.574, allocations: 24.58 MB / 1.391 GB, free: 80.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01773/3.592, allocations: 8.27 MB / 1.399 GB, free: 78.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01226/3.604, allocations: 2.599 MB / 1.402 GB, free: 77.92 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00446/3.608, allocations: 0.5053 MB / 1.402 GB, free: 77.88 MB / 0.5573 GB Notification: Performance of SimCode: time 3.447e-06/3.609, allocations: 0 / 1.402 GB, free: 77.88 MB / 0.5573 GB Notification: Performance of Templates: time 0.5506/4.159, allocations: 141.6 MB / 1.541 GB, free: 92.37 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches