Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001649, allocations: 182.9 kB / 8.155 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001258, allocations: 88.72 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2727/0.2727, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.049e-05/1.078e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2738, allocations: 58.84 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.4444, allocations: 96.06 MB / 0.5592 GB, free: 2.977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.4448, allocations: 79.95 kB / 0.5593 GB, free: 2.898 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1299/0.5747, allocations: 32.28 MB / 0.5908 GB, free: 2.246 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.801e-05/0.5748, allocations: 16 kB / 0.5908 GB, free: 2.23 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.005122/0.5799, allocations: 1.272 MB / 0.592 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.58, allocations: 12.03 kB / 0.5921 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.5922, allocations: 1.095 MB / 0.5931 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.594, allocations: 0.5422 MB / 0.5937 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-05/0.5941, allocations: 40 kB / 0.5937 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.5944, allocations: 75.91 kB / 0.5938 GB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004185/0.5986, allocations: 1.317 MB / 0.5951 GB, free: 13.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/0.6016, allocations: 0.8834 MB / 0.5959 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.642e-05/0.6017, allocations: 3.938 kB / 0.5959 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.6019, allocations: 0 / 0.5959 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/0.6019, allocations: 39.94 kB / 0.596 GB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.6161, allocations: 4.79 MB / 0.6006 GB, free: 7.711 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.6185, allocations: 0.7013 MB / 0.6013 GB, free: 7.004 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008895/0.6195, allocations: 319 kB / 0.6016 GB, free: 6.691 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.6197, allocations: 105.9 kB / 0.6017 GB, free: 6.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/0.6198, allocations: 43.34 kB / 0.6018 GB, free: 6.516 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 3.807e-06/0.6198, allocations: 0 / 0.6018 GB, free: 6.516 MB / 442.7 MB Notification: Performance of matching and sorting (n=91): time 0.002704/0.6225, allocations: 0.6714 MB / 0.6024 GB, free: 5.828 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.6226, allocations: 64.19 kB / 0.6025 GB, free: 5.754 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000902/0.6235, allocations: 420.9 kB / 0.6029 GB, free: 5.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.6236, allocations: 25.7 kB / 0.6029 GB, free: 5.309 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.6241, allocations: 0.5199 MB / 0.6034 GB, free: 4.781 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004106/0.6245, allocations: 299.5 kB / 0.6037 GB, free: 4.484 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-05/0.6246, allocations: 0 / 0.6037 GB, free: 4.484 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.6248, allocations: 358.7 kB / 0.604 GB, free: 4.125 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009692/0.6258, allocations: 294.6 kB / 0.6043 GB, free: 3.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.627, allocations: 0.5491 MB / 0.6049 GB, free: 3.172 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.6289, allocations: 426.7 kB / 0.6053 GB, free: 2.762 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/0.629, allocations: 8 kB / 0.6053 GB, free: 2.754 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00388/0.6329, allocations: 1.016 MB / 0.6063 GB, free: 1.723 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.6329, allocations: 4 kB / 0.6063 GB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.633, allocations: 8 kB / 0.6063 GB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.6333, allocations: 66.34 kB / 0.6063 GB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.6358, allocations: 271.5 kB / 0.6066 GB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-05/0.6358, allocations: 15.98 kB / 0.6066 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.637, allocations: 75.11 kB / 0.6067 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.6372, allocations: 48 kB / 0.6067 GB, free: 1.238 MB / 442.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): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002534/0.6375, allocations: 62.73 kB / 0.6068 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.6377, allocations: 63.25 kB / 0.6069 GB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/0.6412, allocations: 1.019 MB / 0.6079 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.6413, allocations: 11.91 kB / 0.6079 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.6413, allocations: 0 / 0.6079 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.6413, allocations: 3.984 kB / 0.6079 GB, free: 48 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006932/0.6483, allocations: 2.968 MB / 0.6108 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.6483, allocations: 8.938 kB / 0.6108 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.6501, allocations: 191.7 kB / 0.611 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.6505, allocations: 69.61 kB / 0.611 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.394e-05/0.6506, allocations: 12 kB / 0.611 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.6537, allocations: 2.519 MB / 0.6135 GB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.569e-05/0.6538, allocations: 11.94 kB / 0.6135 GB, free: 9.707 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004205/0.658, allocations: 1.739 MB / 0.6152 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/0.6584, allocations: 184 kB / 0.6154 GB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.6586, allocations: 19.92 kB / 0.6154 GB, free: 7.449 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.6599, allocations: 43.95 kB / 0.6154 GB, free: 7.406 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.6601, allocations: 72.47 kB / 0.6155 GB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.6602, allocations: 36 kB / 0.6155 GB, free: 7.301 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0006587/0.6609, allocations: 323.2 kB / 0.6159 GB, free: 6.988 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001413/0.6623, allocations: 291 kB / 0.6161 GB, free: 6.703 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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.0003826/0.6627, allocations: 163.1 kB / 0.6163 GB, free: 6.539 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.6652, allocations: 0.9204 MB / 0.6172 GB, free: 5.578 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.6653, allocations: 7.938 kB / 0.6172 GB, free: 5.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.6668, allocations: 0.5659 MB / 0.6177 GB, free: 4.984 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007831/0.6676, allocations: 61.38 kB / 0.6178 GB, free: 4.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007747/0.6754, allocations: 1.878 MB / 0.6196 GB, free: 2.922 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/0.6769, allocations: 1.096 MB / 0.6207 GB, free: 1.797 MB / 458.7 MB Notification: Performance of SimCode: time 3.446e-06/0.6769, allocations: 4 kB / 0.6207 GB, free: 1.793 MB / 458.7 MB Notification: Performance of Templates: time 0.2017/0.8786, allocations: 18.45 MB / 0.6387 GB, free: 183.3 MB / 474.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/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_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches