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.001412/0.001411, allocations: 183.8 kB / 15.76 MB, free: 6.367 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.796/1.796, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001028/0.001028, allocations: 98.83 kB / 270.2 MB, free: 13.36 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.2291/0.2291, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1423, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4937/0.6361, allocations: 96.89 MB / 0.5734 GB, free: 3.035 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/0.6365, allocations: 88.17 kB / 0.5735 GB, free: 2.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09368/0.7302, allocations: 33.13 MB / 0.6058 GB, free: 7.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.7303, allocations: 0 / 0.6058 GB, free: 7.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.892e-05/0.7303, allocations: 16 kB / 0.6058 GB, free: 7.496 MB / 410.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.003111/0.7334, allocations: 1.307 MB / 0.6071 GB, free: 6.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.7335, allocations: 15.97 kB / 0.6071 GB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006612/0.7401, allocations: 1.025 MB / 0.6081 GB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009928/0.7411, allocations: 0.5462 MB / 0.6087 GB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.7412, allocations: 90.05 kB / 0.6087 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.7414, allocations: 128.8 kB / 0.6089 GB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.7435, allocations: 1.173 MB / 0.61 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.7435, allocations: 3.984 kB / 0.61 GB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.7436, allocations: 52.81 kB / 0.6101 GB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.7437, allocations: 32 kB / 0.6101 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.7461, allocations: 1.446 MB / 0.6115 GB, free: 2.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008424/0.7545, allocations: 4.892 MB / 0.6163 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.7565, allocations: 1.18 MB / 0.6174 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.7566, allocations: 102.1 kB / 0.6175 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.7567, allocations: 43.56 kB / 0.6176 GB, free: 13.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 5.991e-06/0.7567, allocations: 0 / 0.6176 GB, free: 13.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=91): time 0.002439/0.7591, allocations: 1.204 MB / 0.6187 GB, free: 12.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.7592, allocations: 60.41 kB / 0.6188 GB, free: 12.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.7603, allocations: 0.7183 MB / 0.6195 GB, free: 11.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.823e-05/0.7604, allocations: 41.7 kB / 0.6195 GB, free: 11.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.7608, allocations: 478.7 kB / 0.62 GB, free: 10.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/0.7611, allocations: 315.5 kB / 0.6203 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.7612, allocations: 20 kB / 0.6203 GB, free: 10.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.7614, allocations: 402.7 kB / 0.6207 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007044/0.7621, allocations: 338.5 kB / 0.621 GB, free: 9.906 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008612/0.763, allocations: 0.6022 MB / 0.6216 GB, free: 9.195 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008549/0.7639, allocations: 422.9 kB / 0.622 GB, free: 8.777 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.7639, allocations: 4 kB / 0.622 GB, free: 8.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002169/0.7661, allocations: 1.174 MB / 0.6232 GB, free: 7.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.7661, allocations: 10.66 kB / 0.6232 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.7662, allocations: 11.94 kB / 0.6232 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.7665, allocations: 65.67 kB / 0.6233 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.7676, allocations: 263.7 kB / 0.6235 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.7699, allocations: 2.647 MB / 0.6261 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.771, allocations: 158.3 kB / 0.6262 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.7711, allocations: 47.98 kB / 0.6263 GB, free: 4.121 MB / 426.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.0005551/0.7716, allocations: 253.5 kB / 0.6265 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.7719, allocations: 90.88 kB / 0.6266 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.7739, allocations: 1.114 MB / 0.6277 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.7739, allocations: 8 kB / 0.6277 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.7739, allocations: 7.938 kB / 0.6277 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.774, allocations: 7.938 kB / 0.6277 GB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.7783, allocations: 2.706 MB / 0.6304 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.7784, allocations: 8 kB / 0.6304 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.7791, allocations: 184.5 kB / 0.6306 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/0.7795, allocations: 65.67 kB / 0.6306 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.031e-05/0.7796, allocations: 24 kB / 0.6306 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.782, allocations: 2.643 MB / 0.6332 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.782, allocations: 8 kB / 0.6332 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.7848, allocations: 1.771 MB / 0.635 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.7852, allocations: 231.5 kB / 0.6352 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.7854, allocations: 20 kB / 0.6352 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/0.7862, allocations: 64.03 kB / 0.6353 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.7863, allocations: 80.45 kB / 0.6353 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.7864, allocations: 36 kB / 0.6354 GB, free: 10 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008691/0.7873, allocations: 0.5537 MB / 0.6359 GB, free: 9.453 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.7873, allocations: 0 / 0.6359 GB, free: 9.453 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001153/0.7885, allocations: 299.5 kB / 0.6362 GB, free: 9.16 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 () * 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.0003213/0.7888, allocations: 167 kB / 0.6364 GB, free: 8.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.7909, allocations: 1.083 MB / 0.6374 GB, free: 7.883 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7909, allocations: 3.938 kB / 0.6374 GB, free: 7.879 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.792, allocations: 0.6189 MB / 0.638 GB, free: 7.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.7927, allocations: 116.2 kB / 0.6381 GB, free: 7.117 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005613/0.7983, allocations: 2.681 MB / 0.6407 GB, free: 4.328 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.799, allocations: 1.023 MB / 0.6417 GB, free: 3.281 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008712/0.7999, allocations: 151.5 kB / 0.6419 GB, free: 3.129 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.8002, allocations: 87.42 kB / 0.642 GB, free: 3.043 MB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/0.8002, allocations: 0 / 0.642 GB, free: 3.043 MB / 442.7 MB Notification: Performance of Templates: time 0.01783/0.8181, allocations: 9.54 MB / 0.6513 GB, free: 9.527 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