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.002335/0.002335, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 95.62 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2988/0.2988, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.219e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4814, allocations: 58.86 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.6635, allocations: 96.13 MB / 0.5598 GB, free: 3.156 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.6639, allocations: 79.95 kB / 0.5599 GB, free: 3.078 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1298/0.7937, allocations: 32.62 MB / 0.5917 GB, free: 2.094 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.7938, allocations: 0 / 0.5917 GB, free: 2.094 MB / 427.1 MB Notification: Performance of Transformations before backend: time 5.319e-05/0.7939, allocations: 20 kB / 0.5917 GB, free: 2.074 MB / 427.1 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.004992/0.7989, allocations: 1.264 MB / 0.593 GB, free: 0.7617 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.7989, allocations: 8.031 kB / 0.593 GB, free: 0.7539 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.8096, allocations: 1.021 MB / 0.594 GB, free: 15.73 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.8114, allocations: 0.5504 MB / 0.5945 GB, free: 15.14 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.8115, allocations: 44 kB / 0.5946 GB, free: 15.09 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/0.8118, allocations: 72 kB / 0.5946 GB, free: 15.02 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003944/0.8158, allocations: 1.313 MB / 0.5959 GB, free: 13.71 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.8187, allocations: 0.8795 MB / 0.5968 GB, free: 12.8 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-05/0.8188, allocations: 7.906 kB / 0.5968 GB, free: 12.8 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.819, allocations: 0 / 0.5968 GB, free: 12.8 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.819, allocations: 32 kB / 0.5968 GB, free: 12.77 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.8324, allocations: 4.601 MB / 0.6013 GB, free: 7.875 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/0.8355, allocations: 1.121 MB / 0.6024 GB, free: 6.68 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008378/0.8364, allocations: 311.2 kB / 0.6027 GB, free: 6.375 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.8366, allocations: 105.9 kB / 0.6028 GB, free: 6.25 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.8366, allocations: 47.28 kB / 0.6028 GB, free: 6.195 MB / 443.1 MB Notification: Performance of pre-optimization done (n=91): time 3.968e-06/0.8366, allocations: 0 / 0.6028 GB, free: 6.195 MB / 443.1 MB Notification: Performance of matching and sorting (n=91): time 0.003252/0.8399, allocations: 0.8056 MB / 0.6036 GB, free: 5.379 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.84, allocations: 64.19 kB / 0.6037 GB, free: 5.301 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008389/0.8409, allocations: 429 kB / 0.6041 GB, free: 4.875 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 9.796e-05/0.841, allocations: 25.7 kB / 0.6041 GB, free: 4.844 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.8414, allocations: 0.5512 MB / 0.6047 GB, free: 4.285 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.8418, allocations: 295.5 kB / 0.6049 GB, free: 3.992 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.8419, allocations: 7.938 kB / 0.6049 GB, free: 3.984 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.8421, allocations: 354.8 kB / 0.6053 GB, free: 3.629 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008346/0.843, allocations: 294.5 kB / 0.6056 GB, free: 3.344 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.8441, allocations: 0.5417 MB / 0.6061 GB, free: 2.691 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.8471, allocations: 0.6385 MB / 0.6067 GB, free: 2.059 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.8471, allocations: 0 / 0.6067 GB, free: 2.059 MB / 443.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004807/0.852, allocations: 1.248 MB / 0.6079 GB, free: 0.7969 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.852, allocations: 11.94 kB / 0.6079 GB, free: 0.7852 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.8521, allocations: 8 kB / 0.608 GB, free: 0.7773 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004185/0.8525, allocations: 66 kB / 0.608 GB, free: 0.707 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.8545, allocations: 271.5 kB / 0.6083 GB, free: 452 kB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/0.8573, allocations: 2.509 MB / 0.6107 GB, free: 13.7 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.8588, allocations: 98.86 kB / 0.6108 GB, free: 13.6 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.859, allocations: 48 kB / 0.6109 GB, free: 13.55 MB / 459.1 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.0002844/0.8593, allocations: 136.6 kB / 0.611 GB, free: 13.41 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.8595, allocations: 67.2 kB / 0.6111 GB, free: 13.35 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.8633, allocations: 1.095 MB / 0.6121 GB, free: 12.22 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.8634, allocations: 11.94 kB / 0.6121 GB, free: 12.21 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.8634, allocations: 0 / 0.6121 GB, free: 12.21 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.8634, allocations: 3.984 kB / 0.6121 GB, free: 12.21 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006892/0.8703, allocations: 2.585 MB / 0.6147 GB, free: 9.402 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/0.8704, allocations: 8 kB / 0.6147 GB, free: 9.395 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.8719, allocations: 183.7 kB / 0.6149 GB, free: 9.215 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003892/0.8723, allocations: 70.33 kB / 0.6149 GB, free: 9.141 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/0.8724, allocations: 8 kB / 0.6149 GB, free: 9.133 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.8752, allocations: 2.524 MB / 0.6174 GB, free: 6.379 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-05/0.8753, allocations: 11.94 kB / 0.6174 GB, free: 6.367 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004452/0.8797, allocations: 1.728 MB / 0.6191 GB, free: 4.391 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.8802, allocations: 184 kB / 0.6193 GB, free: 4.191 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.8804, allocations: 8 kB / 0.6193 GB, free: 4.184 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.8815, allocations: 44.03 kB / 0.6193 GB, free: 4.141 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/0.8817, allocations: 88.48 kB / 0.6194 GB, free: 4.055 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.453e-05/0.8818, allocations: 35.98 kB / 0.6194 GB, free: 4.02 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0006521/0.8825, allocations: 323 kB / 0.6197 GB, free: 3.703 MB / 459.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8825, allocations: 0 / 0.6197 GB, free: 3.703 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.00157/0.8841, allocations: 290.9 kB / 0.62 GB, free: 3.418 MB / 459.1 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.0004097/0.8845, allocations: 168.2 kB / 0.6202 GB, free: 3.246 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.8871, allocations: 0.9575 MB / 0.6211 GB, free: 2.27 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.8872, allocations: 0 / 0.6211 GB, free: 2.27 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.8886, allocations: 0.5648 MB / 0.6217 GB, free: 1.684 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.8894, allocations: 59.58 kB / 0.6217 GB, free: 1.629 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007088/0.8966, allocations: 1.848 MB / 0.6235 GB, free: 15.67 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008547/0.8975, allocations: 1.015 MB / 0.6245 GB, free: 14.63 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/0.8981, allocations: 83.41 kB / 0.6246 GB, free: 14.55 MB / 475.1 MB Notification: Performance of SimCode: time 1.163e-06/0.8981, allocations: 0 / 0.6246 GB, free: 14.55 MB / 475.1 MB Notification: Performance of Templates: time 0.3673/1.265, allocations: 18.2 MB / 0.6424 GB, free: 125.8 MB / 475.1 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