Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001539/0.001539, 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 2.019/2.019, 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.001173/0.001173, allocations: 88.44 kB / 270.9 MB, free: 8.391 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.5243/0.5243, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004855, allocations: 11.98 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1278, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4879/0.6157, allocations: 96.88 MB / 0.5733 GB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.6161, allocations: 83.95 kB / 0.5734 GB, free: 5.754 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1307/0.7468, allocations: 33.15 MB / 0.6058 GB, free: 4.297 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.469e-06/0.7469, allocations: 0 / 0.6058 GB, free: 4.297 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.124e-05/0.7469, allocations: 23.94 kB / 0.6058 GB, free: 4.273 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.00525/0.7522, allocations: 1.305 MB / 0.6071 GB, free: 2.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.7523, allocations: 12.03 kB / 0.6071 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/0.7686, allocations: 1.028 MB / 0.6081 GB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.7709, allocations: 0.5388 MB / 0.6086 GB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.7712, allocations: 90.48 kB / 0.6087 GB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007145/0.7719, allocations: 127.9 kB / 0.6088 GB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005773/0.7777, allocations: 1.177 MB / 0.61 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.731e-05/0.7779, allocations: 7.938 kB / 0.61 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.7781, allocations: 48 kB / 0.61 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.7781, allocations: 33.03 kB / 0.6101 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004933/0.7831, allocations: 1.443 MB / 0.6115 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.7975, allocations: 4.896 MB / 0.6163 GB, free: 9.145 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.801, allocations: 1.183 MB / 0.6174 GB, free: 7.891 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.8013, allocations: 98.08 kB / 0.6175 GB, free: 7.777 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.8014, allocations: 51.48 kB / 0.6176 GB, free: 7.719 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 3.807e-06/0.8014, allocations: 0 / 0.6176 GB, free: 7.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=91): time 0.004045/0.8054, allocations: 1.2 MB / 0.6187 GB, free: 6.469 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.8055, allocations: 64.34 kB / 0.6188 GB, free: 6.395 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.8072, allocations: 0.7184 MB / 0.6195 GB, free: 5.672 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002117/0.8074, allocations: 45.69 kB / 0.6195 GB, free: 5.621 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.8079, allocations: 497.2 kB / 0.62 GB, free: 5.129 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/0.8083, allocations: 307.5 kB / 0.6203 GB, free: 4.824 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.8085, allocations: 28 kB / 0.6203 GB, free: 4.797 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.8086, allocations: 346.8 kB / 0.6207 GB, free: 4.449 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.8099, allocations: 346.5 kB / 0.621 GB, free: 4.109 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.8113, allocations: 0.5984 MB / 0.6216 GB, free: 3.402 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.8128, allocations: 422.9 kB / 0.622 GB, free: 2.984 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/0.8129, allocations: 7.938 kB / 0.622 GB, free: 2.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00392/0.8168, allocations: 1.124 MB / 0.6231 GB, free: 1.844 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.8169, allocations: 12.06 kB / 0.6231 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.8169, allocations: 8 kB / 0.6231 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004588/0.8174, allocations: 69.67 kB / 0.6232 GB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.8196, allocations: 259.6 kB / 0.6234 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.8224, allocations: 2.639 MB / 0.626 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.8242, allocations: 158.4 kB / 0.6261 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.8244, allocations: 52 kB / 0.6262 GB, free: 14.38 MB / 458.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 () * Number of clocked 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.0006727/0.8251, allocations: 249.5 kB / 0.6264 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.8254, allocations: 94.86 kB / 0.6265 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003232/0.8286, allocations: 1.106 MB / 0.6276 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.8287, allocations: 12 kB / 0.6276 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.8287, allocations: 3.938 kB / 0.6276 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.8287, allocations: 15.92 kB / 0.6276 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006667/0.8354, allocations: 2.715 MB / 0.6303 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.8355, allocations: 8 kB / 0.6303 GB, free: 9.906 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.837, allocations: 183.7 kB / 0.6305 GB, free: 9.727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003979/0.8374, allocations: 69.61 kB / 0.6305 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.8375, allocations: 28.25 kB / 0.6306 GB, free: 9.625 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002723/0.8403, allocations: 2.635 MB / 0.6331 GB, free: 6.723 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.8403, allocations: 8.312 kB / 0.6331 GB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.8446, allocations: 1.772 MB / 0.6349 GB, free: 4.691 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.8452, allocations: 223.6 kB / 0.6351 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.8454, allocations: 20 kB / 0.6351 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.8467, allocations: 60.03 kB / 0.6352 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.847, allocations: 76.47 kB / 0.6352 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.914e-05/0.8471, allocations: 31.98 kB / 0.6353 GB, free: 4.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001207/0.8484, allocations: 0.5615 MB / 0.6358 GB, free: 3.715 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8484, allocations: 0 / 0.6358 GB, free: 3.715 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001677/0.8501, allocations: 295.5 kB / 0.6361 GB, free: 3.426 MB / 458.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 () * Number of clocked 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.0004389/0.8506, allocations: 181 kB / 0.6363 GB, free: 3.242 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003382/0.854, allocations: 1.084 MB / 0.6373 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.854, allocations: 0 / 0.6373 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.8559, allocations: 0.6243 MB / 0.6379 GB, free: 1.488 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.8571, allocations: 115.4 kB / 0.638 GB, free: 1.375 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008648/0.8657, allocations: 2.715 MB / 0.6407 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008392/0.8666, allocations: 1.016 MB / 0.6417 GB, free: 13.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006735/0.8673, allocations: 103.3 kB / 0.6418 GB, free: 13.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.373e-06/0.8674, allocations: 0 / 0.6418 GB, free: 13.4 MB / 474.7 MB Notification: Performance of Templates: time 0.03848/0.9059, allocations: 19.39 MB / 0.6607 GB, free: 9.988 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches