Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009615/0.0009616, allocations: 183.7 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.401/1.401, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008315/0.0008315, allocations: 87.22 kB / 267.1 MB, free: 9.273 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.373/0.373, allocations: 43.46 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.222e-05, allocations: 3.984 kB / 425.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 58.84 MB / 484.1 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3958/0.5203, allocations: 96.8 MB / 0.5673 GB, free: 8.945 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.5206, allocations: 78.89 kB / 0.5674 GB, free: 8.902 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07114/0.5917, allocations: 33.07 MB / 0.5997 GB, free: 13.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5918, allocations: 0 / 0.5997 GB, free: 13.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.441e-05/0.5918, allocations: 20 kB / 0.5997 GB, free: 13.54 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003151/0.595, allocations: 1.257 MB / 0.6009 GB, free: 12.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.595, allocations: 16.02 kB / 0.601 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007323/0.6024, allocations: 1.014 MB / 0.602 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.6039, allocations: 0.5529 MB / 0.6025 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/0.604, allocations: 89.23 kB / 0.6026 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.6042, allocations: 124.3 kB / 0.6027 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.6063, allocations: 1.134 MB / 0.6038 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.6063, allocations: 4 kB / 0.6038 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.6064, allocations: 53.81 kB / 0.6039 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.6065, allocations: 31.98 kB / 0.6039 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.6085, allocations: 1.378 MB / 0.6052 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007746/0.6162, allocations: 4.884 MB / 0.61 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.618, allocations: 1.161 MB / 0.6111 GB, free: 4.129 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.6185, allocations: 350.6 kB / 0.6115 GB, free: 3.926 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.6186, allocations: 101.8 kB / 0.6116 GB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.6187, allocations: 50.53 kB / 0.6116 GB, free: 3.758 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 4.448e-06/0.6187, allocations: 0 / 0.6116 GB, free: 3.758 MB / 426.7 MB Notification: Performance of matching and sorting (n=91): time 0.001427/0.6201, allocations: 0.7061 MB / 0.6123 GB, free: 3.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.6202, allocations: 64.12 kB / 0.6124 GB, free: 3.156 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009721/0.6212, allocations: 0.7076 MB / 0.6131 GB, free: 2.641 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.6212, allocations: 40.33 kB / 0.6131 GB, free: 2.605 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.6216, allocations: 478.8 kB / 0.6136 GB, free: 2.227 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.6219, allocations: 315.5 kB / 0.6139 GB, free: 1.914 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.622, allocations: 20 kB / 0.6139 GB, free: 1.895 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.6222, allocations: 398.7 kB / 0.6143 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/0.6227, allocations: 314.6 kB / 0.6146 GB, free: 1.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/0.6235, allocations: 0.5828 MB / 0.6151 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/0.6242, allocations: 404.8 kB / 0.6155 GB, free: 104 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.6242, allocations: 4 kB / 0.6155 GB, free: 100 kB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001886/0.6261, allocations: 1.119 MB / 0.6166 GB, free: 14.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.6261, allocations: 8.625 kB / 0.6166 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.6262, allocations: 8 kB / 0.6166 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.6265, allocations: 69.67 kB / 0.6167 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.6275, allocations: 259.6 kB / 0.6169 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.6294, allocations: 2.639 MB / 0.6195 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/0.6304, allocations: 150.3 kB / 0.6197 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.6304, allocations: 48.16 kB / 0.6197 GB, free: 11.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.6307, allocations: 168.6 kB / 0.6199 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.6308, allocations: 90.88 kB / 0.6199 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.6325, allocations: 1.066 MB / 0.621 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6325, allocations: 11.95 kB / 0.621 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6325, allocations: 4 kB / 0.621 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.6326, allocations: 3.984 kB / 0.621 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.6359, allocations: 2.678 MB / 0.6236 GB, free: 7.227 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6359, allocations: 4 kB / 0.6236 GB, free: 7.223 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006989/0.6366, allocations: 187.7 kB / 0.6238 GB, free: 7.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.6368, allocations: 58 kB / 0.6239 GB, free: 6.977 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.6369, allocations: 31.98 kB / 0.6239 GB, free: 6.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.6386, allocations: 2.615 MB / 0.6264 GB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.6386, allocations: 12.25 kB / 0.6265 GB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.6406, allocations: 1.702 MB / 0.6281 GB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.6409, allocations: 215.7 kB / 0.6283 GB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.6411, allocations: 27.98 kB / 0.6284 GB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000618/0.6417, allocations: 56.05 kB / 0.6284 GB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.6418, allocations: 88.45 kB / 0.6285 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.6419, allocations: 32 kB / 0.6285 GB, free: 1.664 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006759/0.6426, allocations: 0.55 MB / 0.6291 GB, free: 1.121 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6426, allocations: 0 / 0.6291 GB, free: 1.121 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008919/0.6435, allocations: 295.5 kB / 0.6293 GB, free: 0.832 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002837/0.6438, allocations: 188.7 kB / 0.6295 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.6454, allocations: 1.032 MB / 0.6305 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.6454, allocations: 4 kB / 0.6305 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008121/0.6462, allocations: 0.6084 MB / 0.6311 GB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.6468, allocations: 109.8 kB / 0.6312 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004461/0.6513, allocations: 1.873 MB / 0.6331 GB, free: 12.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.6518, allocations: 1.02 MB / 0.6341 GB, free: 11.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006662/0.6525, allocations: 151.6 kB / 0.6342 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.6527, allocations: 79.42 kB / 0.6343 GB, free: 11.6 MB / 458.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6527, allocations: 0 / 0.6343 GB, free: 11.6 MB / 458.7 MB Notification: Performance of Templates: time 0.01817/0.6709, allocations: 9.679 MB / 0.6437 GB, free: 1.969 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches