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.0009733/0.0009733, allocations: 181.7 kB / 17.41 MB, free: 4.285 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.258/1.258, allocations: 205.4 MB / 223.6 MB, free: 8.93 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.0007473/0.0007474, allocations: 94.3 kB / 271.9 MB, free: 8.219 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.2829/0.2829, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 16 kB / 432.6 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09684, allocations: 58.84 MB / 491.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2648/0.3616, allocations: 96.98 MB / 0.5746 GB, free: 5.387 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.362, allocations: 87.95 kB / 0.5747 GB, free: 5.301 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07484/0.4368, allocations: 33.04 MB / 0.607 GB, free: 3.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4369, allocations: 0 / 0.607 GB, free: 3.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.3e-05/0.4369, allocations: 23.92 kB / 0.607 GB, free: 3.934 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.003215/0.4401, allocations: 1.294 MB / 0.6083 GB, free: 2.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.4402, allocations: 16.03 kB / 0.6083 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006465/0.4467, allocations: 1.026 MB / 0.6093 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.4477, allocations: 0.56 MB / 0.6098 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.339e-05/0.4478, allocations: 90.48 kB / 0.6099 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/0.448, allocations: 120 kB / 0.61 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.4502, allocations: 1.193 MB / 0.6112 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.4503, allocations: 3.906 kB / 0.6112 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.4504, allocations: 52 kB / 0.6113 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.4504, allocations: 28 kB / 0.6113 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.4529, allocations: 1.45 MB / 0.6127 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007557/0.4605, allocations: 4.888 MB / 0.6175 GB, free: 8.785 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.4623, allocations: 1.186 MB / 0.6186 GB, free: 7.527 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/0.4629, allocations: 367.7 kB / 0.619 GB, free: 7.164 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.463, allocations: 106.1 kB / 0.6191 GB, free: 7.039 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.4631, allocations: 51.48 kB / 0.6191 GB, free: 6.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 3.206e-06/0.4631, allocations: 0 / 0.6191 GB, free: 6.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=91): time 0.002134/0.4652, allocations: 1.198 MB / 0.6203 GB, free: 5.738 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4653, allocations: 60.41 kB / 0.6204 GB, free: 5.664 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009437/0.4662, allocations: 0.7972 MB / 0.6211 GB, free: 4.859 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.4663, allocations: 41.7 kB / 0.6212 GB, free: 4.812 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.4666, allocations: 478.7 kB / 0.6216 GB, free: 4.336 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.4669, allocations: 311.5 kB / 0.6219 GB, free: 4.027 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.4669, allocations: 20 kB / 0.622 GB, free: 4.008 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4671, allocations: 406.7 kB / 0.6223 GB, free: 3.602 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/0.4677, allocations: 342.4 kB / 0.6227 GB, free: 3.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007764/0.4685, allocations: 0.6062 MB / 0.6233 GB, free: 2.551 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.4699, allocations: 0.975 MB / 0.6242 GB, free: 1.469 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.4699, allocations: 0 / 0.6242 GB, free: 1.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00199/0.4719, allocations: 1.166 MB / 0.6253 GB, free: 292 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.472, allocations: 8 kB / 0.6254 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.472, allocations: 8 kB / 0.6254 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/0.4723, allocations: 77.92 kB / 0.6254 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009627/0.4732, allocations: 259.6 kB / 0.6257 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.4752, allocations: 2.635 MB / 0.6283 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000832/0.476, allocations: 150.3 kB / 0.6284 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-05/0.4761, allocations: 47.98 kB / 0.6284 GB, free: 12.84 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.0004098/0.4765, allocations: 253.6 kB / 0.6287 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.4767, allocations: 94.88 kB / 0.6288 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.4786, allocations: 1.107 MB / 0.6299 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4786, allocations: 11.94 kB / 0.6299 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4786, allocations: 7.938 kB / 0.6299 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4786, allocations: 3.984 kB / 0.6299 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/0.4822, allocations: 2.714 MB / 0.6325 GB, free: 8.387 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.4823, allocations: 8.781 kB / 0.6325 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007131/0.483, allocations: 183.7 kB / 0.6327 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.4832, allocations: 65.67 kB / 0.6328 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.4833, allocations: 28 kB / 0.6328 GB, free: 8.102 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.485, allocations: 2.623 MB / 0.6354 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.4851, allocations: 15.88 kB / 0.6354 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.4872, allocations: 1.48 MB / 0.6368 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/0.4875, allocations: 215.6 kB / 0.637 GB, free: 3.383 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.4877, allocations: 27.98 kB / 0.6371 GB, free: 3.355 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.4883, allocations: 56.05 kB / 0.6371 GB, free: 3.301 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.4885, allocations: 84.38 kB / 0.6372 GB, free: 3.219 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/0.4885, allocations: 32 kB / 0.6372 GB, free: 3.188 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007327/0.4893, allocations: 0.5576 MB / 0.6378 GB, free: 2.633 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.303e-06/0.4893, allocations: 0 / 0.6378 GB, free: 2.633 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000921/0.4902, allocations: 303.5 kB / 0.6381 GB, free: 2.336 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.0002883/0.4905, allocations: 175 kB / 0.6382 GB, free: 2.152 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.4923, allocations: 1.083 MB / 0.6393 GB, free: 1.051 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4923, allocations: 1.812 kB / 0.6393 GB, free: 1.051 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008622/0.4932, allocations: 0.6231 MB / 0.6399 GB, free: 412 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.4945, allocations: 127.8 kB / 0.64 GB, free: 288 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.4977, allocations: 2.226 MB / 0.6422 GB, free: 13.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.4983, allocations: 1.004 MB / 0.6432 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.4987, allocations: 87.42 kB / 0.6433 GB, free: 12.83 MB / 474.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4987, allocations: 0 / 0.6433 GB, free: 12.83 MB / 474.7 MB Notification: Performance of Templates: time 0.02287/0.5216, allocations: 20.15 MB / 0.6629 GB, free: 8.645 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