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.001527/0.001527, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.973/1.973, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001071/0.00107, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.2978/0.2978, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.357e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4944/0.6097, allocations: 96.79 MB / 0.5673 GB, free: 6.902 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.6101, allocations: 78.95 kB / 0.5674 GB, free: 6.859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1297/0.7398, allocations: 33.06 MB / 0.5997 GB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.7399, allocations: 0 / 0.5997 GB, free: 11.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.278e-05/0.7399, allocations: 16 kB / 0.5997 GB, free: 11.44 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.005009/0.745, allocations: 1.259 MB / 0.6009 GB, free: 10.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.745, allocations: 8.031 kB / 0.6009 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.7557, allocations: 1.02 MB / 0.6019 GB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.7574, allocations: 0.5464 MB / 0.6025 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.7575, allocations: 98.78 kB / 0.6026 GB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.7579, allocations: 122.5 kB / 0.6027 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.7616, allocations: 1.129 MB / 0.6038 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-05/0.7617, allocations: 7.906 kB / 0.6038 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.7619, allocations: 48.75 kB / 0.6038 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.7619, allocations: 35.94 kB / 0.6039 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004299/0.7663, allocations: 1.376 MB / 0.6052 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/0.7801, allocations: 4.888 MB / 0.61 GB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/0.7834, allocations: 1.161 MB / 0.6111 GB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009767/0.7844, allocations: 348.4 kB / 0.6115 GB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.7846, allocations: 97.86 kB / 0.6116 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.7847, allocations: 47.34 kB / 0.6116 GB, free: 1.383 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.697e-06/0.7847, allocations: 0 / 0.6116 GB, free: 1.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=91): time 0.002292/0.787, allocations: 0.7117 MB / 0.6123 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.7871, allocations: 60.19 kB / 0.6123 GB, free: 0.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.7886, allocations: 0.7068 MB / 0.613 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.7888, allocations: 41.7 kB / 0.6131 GB, free: 15.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.7893, allocations: 0.4894 MB / 0.6136 GB, free: 15.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.7896, allocations: 311.5 kB / 0.6139 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.7898, allocations: 24 kB / 0.6139 GB, free: 14.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.7899, allocations: 354.8 kB / 0.6142 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.791, allocations: 314.6 kB / 0.6145 GB, free: 14.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.7922, allocations: 0.5791 MB / 0.6151 GB, free: 13.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.7933, allocations: 408.7 kB / 0.6155 GB, free: 13.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.7934, allocations: 4 kB / 0.6155 GB, free: 13.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003178/0.7966, allocations: 1.069 MB / 0.6165 GB, free: 12.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.7967, allocations: 12.09 kB / 0.6165 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.7967, allocations: 11.94 kB / 0.6165 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/0.7971, allocations: 65.67 kB / 0.6166 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/0.7993, allocations: 259.6 kB / 0.6169 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.8021, allocations: 2.635 MB / 0.6194 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.8039, allocations: 150.3 kB / 0.6196 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.8041, allocations: 44 kB / 0.6196 GB, free: 8.715 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 () * 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.0003372/0.8044, allocations: 184.7 kB / 0.6198 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.8047, allocations: 90.88 kB / 0.6199 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/0.8077, allocations: 1.051 MB / 0.6209 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.8078, allocations: 15.95 kB / 0.6209 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.8078, allocations: 4 kB / 0.6209 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.8078, allocations: 3.984 kB / 0.6209 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00631/0.8141, allocations: 2.686 MB / 0.6235 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-05/0.8143, allocations: 8 kB / 0.6236 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.8158, allocations: 179.7 kB / 0.6237 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.8162, allocations: 65.67 kB / 0.6238 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.8163, allocations: 24.19 kB / 0.6238 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.8189, allocations: 2.612 MB / 0.6264 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.819, allocations: 11.94 kB / 0.6264 GB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/0.8227, allocations: 1.701 MB / 0.628 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004699/0.8233, allocations: 215.5 kB / 0.6282 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.8235, allocations: 27.98 kB / 0.6283 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.8248, allocations: 60.03 kB / 0.6283 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.825, allocations: 76.59 kB / 0.6284 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.8252, allocations: 39.98 kB / 0.6284 GB, free: 14.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001236/0.8264, allocations: 0.5422 MB / 0.629 GB, free: 14.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8264, allocations: 0 / 0.629 GB, free: 14.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001667/0.8281, allocations: 303.5 kB / 0.6293 GB, free: 14.03 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 () * 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.0004538/0.8286, allocations: 190.8 kB / 0.6294 GB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.8316, allocations: 1.032 MB / 0.6304 GB, free: 12.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.8316, allocations: 4.125 kB / 0.6304 GB, free: 12.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.8332, allocations: 0.6005 MB / 0.631 GB, free: 12.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.8343, allocations: 106.9 kB / 0.6311 GB, free: 12.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007224/0.8416, allocations: 1.915 MB / 0.633 GB, free: 10.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008127/0.8424, allocations: 1.024 MB / 0.634 GB, free: 8.965 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/0.8431, allocations: 91.42 kB / 0.6341 GB, free: 8.875 MB / 442.7 MB Notification: Performance of SimCode: time 1.883e-06/0.8431, allocations: 0 / 0.6341 GB, free: 8.875 MB / 442.7 MB Notification: Performance of Templates: time 0.04044/0.8836, allocations: 19.39 MB / 0.653 GB, free: 5.449 MB / 458.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