Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00156/0.00156, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.057/2.057, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001046/0.001045, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2796/0.2796, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.051e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5272/0.6405, allocations: 107.2 MB / 0.5775 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.6409, allocations: 84.05 kB / 0.5775 GB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.958/2.599, allocations: 387.9 MB / 0.9563 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.397e-06/2.599, allocations: 0 / 0.9563 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001101/2.6, allocations: 254 kB / 0.9565 GB, free: 67.19 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.05233/2.653, allocations: 10.56 MB / 0.9669 GB, free: 64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/2.653, allocations: 8.938 kB / 0.9669 GB, free: 64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06646/2.719, allocations: 8.38 MB / 0.9751 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02542/2.745, allocations: 7.485 MB / 0.9824 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001566/2.746, allocations: 0.8767 MB / 0.9832 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006145/2.753, allocations: 1.116 MB / 0.9843 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0671/2.82, allocations: 20.94 MB / 1.005 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006881/2.82, allocations: 18.73 kB / 1.005 GB, free: 58.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005604/2.826, allocations: 495.8 kB / 1.005 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001422/2.828, allocations: 0.8488 MB / 1.006 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05691/2.884, allocations: 19.57 MB / 1.025 GB, free: 49.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1786/3.063, allocations: 60.06 MB / 1.084 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5032/3.566, allocations: 24.11 MB / 1.107 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0297/3.596, allocations: 10.12 MB / 1.117 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/3.599, allocations: 364.4 kB / 1.118 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/3.599, allocations: 142.1 kB / 1.118 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1196): time 3.201e-05/3.599, allocations: 2.734 kB / 1.118 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1196): time 0.05565/3.655, allocations: 17.9 MB / 1.135 GB, free: 64.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/3.655, allocations: 154.7 kB / 1.135 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006408/3.661, allocations: 2.78 MB / 1.138 GB, free: 64.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002624/3.664, allocations: 184.9 kB / 1.138 GB, free: 64.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002659/3.667, allocations: 3.308 MB / 1.141 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.006261/3.673, allocations: 3.889 MB / 1.145 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002044/3.675, allocations: 168.9 kB / 1.145 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001147/3.676, allocations: 0.7225 MB / 1.146 GB, free: 60.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01751/3.694, allocations: 7.007 MB / 1.153 GB, free: 60.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01967/3.714, allocations: 7.925 MB / 1.161 GB, free: 59.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02101/3.735, allocations: 8.273 MB / 1.169 GB, free: 59.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.862e-05/3.735, allocations: 7.797 kB / 1.169 GB, free: 59.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.05324/3.788, allocations: 18.49 MB / 1.187 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/3.788, allocations: 11.16 kB / 1.187 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.256e-05/3.788, allocations: 13.72 kB / 1.187 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/3.799, allocations: 3.744 MB / 1.191 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0158/3.814, allocations: 1.913 MB / 1.192 GB, free: 52.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02499/3.839, allocations: 21.52 MB / 1.213 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/3.85, allocations: 1.132 MB / 1.215 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003136/3.853, allocations: 333.3 kB / 1.215 GB, free: 35.12 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.005494/3.858, allocations: 0.5398 MB / 1.215 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003774/3.862, allocations: 0.563 MB / 1.216 GB, free: 34.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0611/3.923, allocations: 20.24 MB / 1.236 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005225/3.924, allocations: 295.1 kB / 1.236 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.931e-05/3.924, allocations: 7.953 kB / 1.236 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002565/3.924, allocations: 49.36 kB / 1.236 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1126/4.037, allocations: 38.58 MB / 1.274 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001698/4.037, allocations: 3.406 kB / 1.274 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01586/4.053, allocations: 1.766 MB / 1.275 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01125/4.064, allocations: 3.706 MB / 1.279 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003089/4.068, allocations: 252.7 kB / 1.279 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03145/4.099, allocations: 21.42 MB / 1.3 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/4.099, allocations: 0 / 1.3 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5039/4.603, allocations: 30.15 MB / 1.33 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/4.605, allocations: 0.8583 MB / 1.331 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003663/4.609, allocations: 167.4 kB / 1.331 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009879/4.619, allocations: 0.5971 MB / 1.331 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004183/4.623, allocations: 0.8413 MB / 1.332 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002729/4.626, allocations: 324.5 kB / 1.332 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005307/4.631, allocations: 2.15 MB / 1.334 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.122e-06/4.631, allocations: 0 / 1.334 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01505/4.646, allocations: 3.091 MB / 1.338 GB, free: 101.1 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.00351/4.65, allocations: 412.1 kB / 1.338 GB, free: 101 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04653/4.696, allocations: 17.61 MB / 1.355 GB, free: 100 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/4.697, allocations: 2.719 kB / 1.355 GB, free: 100 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02625/4.723, allocations: 9.702 MB / 1.365 GB, free: 99.24 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01076/4.734, allocations: 0.9941 MB / 1.366 GB, free: 99.22 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07398/4.808, allocations: 24.22 MB / 1.389 GB, free: 93.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01858/4.826, allocations: 8.017 MB / 1.397 GB, free: 91.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007045/4.833, allocations: 0.5504 MB / 1.398 GB, free: 91.05 MB / 0.5573 GB Notification: Performance of SimCode: time 1.733e-06/4.833, allocations: 0 / 1.398 GB, free: 91.05 MB / 0.5573 GB Notification: Performance of Templates: time 4.042/8.876, allocations: 1.148 GB / 2.546 GB, free: 34.27 MB / 0.6042 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches