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.0009462/0.0009462, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008126/0.0008125, allocations: 90.11 kB / 261.7 MB, free: 1.617 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.1972/0.1972, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.62e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4125/0.5305, allocations: 96.12 MB / 0.5598 GB, free: 15.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.5308, allocations: 84.89 kB / 0.5599 GB, free: 15.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0738/0.6046, allocations: 32.63 MB / 0.5917 GB, free: 5.094 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6046, allocations: 0 / 0.5917 GB, free: 5.094 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.113e-05/0.6047, allocations: 16 kB / 0.5918 GB, free: 5.078 MB / 394.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.003087/0.6078, allocations: 1.268 MB / 0.593 GB, free: 3.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.6078, allocations: 8.031 kB / 0.593 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006696/0.6145, allocations: 1.015 MB / 0.594 GB, free: 2.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.6157, allocations: 0.5525 MB / 0.5945 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.6158, allocations: 44 kB / 0.5946 GB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.6159, allocations: 68 kB / 0.5946 GB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002338/0.6183, allocations: 1.316 MB / 0.5959 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.6199, allocations: 0.8855 MB / 0.5968 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.62, allocations: 7.906 kB / 0.5968 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.563e-05/0.6201, allocations: 4 kB / 0.5968 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.6201, allocations: 28 kB / 0.5968 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007187/0.6273, allocations: 4.601 MB / 0.6013 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.6291, allocations: 1.12 MB / 0.6024 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/0.6296, allocations: 323.2 kB / 0.6027 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.6297, allocations: 97.86 kB / 0.6028 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.6298, allocations: 47.28 kB / 0.6029 GB, free: 11.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.827e-06/0.6298, allocations: 0 / 0.6029 GB, free: 11.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=91): time 0.001917/0.6317, allocations: 0.8056 MB / 0.6037 GB, free: 10.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.6318, allocations: 68.17 kB / 0.6037 GB, free: 10.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.6323, allocations: 425 kB / 0.6041 GB, free: 10.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.6323, allocations: 29.64 kB / 0.6042 GB, free: 10 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.6326, allocations: 0.498 MB / 0.6046 GB, free: 9.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.6329, allocations: 295.5 kB / 0.6049 GB, free: 9.199 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.6329, allocations: 0 / 0.6049 GB, free: 9.199 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6331, allocations: 370.8 kB / 0.6053 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/0.6335, allocations: 294.6 kB / 0.6056 GB, free: 8.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.6342, allocations: 0.5494 MB / 0.6061 GB, free: 7.883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.6358, allocations: 0.6385 MB / 0.6067 GB, free: 7.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.6358, allocations: 7.938 kB / 0.6067 GB, free: 7.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002687/0.6385, allocations: 1.256 MB / 0.6079 GB, free: 5.973 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6385, allocations: 12.12 kB / 0.608 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.6385, allocations: 8 kB / 0.608 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.6388, allocations: 69.67 kB / 0.608 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.6399, allocations: 267.6 kB / 0.6083 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.6422, allocations: 2.52 MB / 0.6108 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008741/0.6431, allocations: 86.91 kB / 0.6108 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-05/0.6432, allocations: 51.92 kB / 0.6109 GB, free: 2.727 MB / 410.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.0002509/0.6434, allocations: 132.8 kB / 0.611 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.6436, allocations: 71.2 kB / 0.6111 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.6459, allocations: 1.095 MB / 0.6121 GB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.646, allocations: 8 kB / 0.6122 GB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.646, allocations: 3.984 kB / 0.6122 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.646, allocations: 3.984 kB / 0.6122 GB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004439/0.6504, allocations: 2.582 MB / 0.6147 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.6505, allocations: 8 kB / 0.6147 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007713/0.6512, allocations: 187.7 kB / 0.6149 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002433/0.6515, allocations: 61.67 kB / 0.6149 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.6516, allocations: 8.188 kB / 0.6149 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.6536, allocations: 2.528 MB / 0.6174 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/0.6536, allocations: 8 kB / 0.6174 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.6563, allocations: 1.73 MB / 0.6191 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.6566, allocations: 184 kB / 0.6193 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.6568, allocations: 8 kB / 0.6193 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006938/0.6575, allocations: 44.03 kB / 0.6193 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.6576, allocations: 92.47 kB / 0.6194 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/0.6577, allocations: 32 kB / 0.6194 GB, free: 9.195 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004476/0.6582, allocations: 323 kB / 0.6198 GB, free: 8.879 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6582, allocations: 0 / 0.6198 GB, free: 8.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00126/0.6594, allocations: 294.9 kB / 0.62 GB, free: 8.59 MB / 426.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.0003926/0.6598, allocations: 151 kB / 0.6202 GB, free: 8.434 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001918/0.6618, allocations: 0.9633 MB / 0.6211 GB, free: 7.449 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6618, allocations: 2.062 kB / 0.6211 GB, free: 7.449 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008182/0.6626, allocations: 0.5662 MB / 0.6217 GB, free: 6.863 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.6632, allocations: 62 kB / 0.6217 GB, free: 6.805 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.668, allocations: 1.804 MB / 0.6235 GB, free: 4.898 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.6688, allocations: 1.023 MB / 0.6245 GB, free: 3.848 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006877/0.6695, allocations: 117.9 kB / 0.6246 GB, free: 3.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.6697, allocations: 79.34 kB / 0.6247 GB, free: 3.652 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6697, allocations: 0 / 0.6247 GB, free: 3.652 MB / 426.7 MB Notification: Performance of Templates: time 0.01548/0.6852, allocations: 7.545 MB / 0.632 GB, free: 12.13 MB / 442.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