Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 179.5 kB / 8.519 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.4 MB / 230.3 MB, free: 7.656 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 83.98 kB / 281.2 MB, free: 5.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1748/0.1748, allocations: 44.14 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.71e-06/5.731e-06, allocations: 0 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 61.9 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3307/0.4502, allocations: 98.42 MB / 0.5902 GB, free: 14.39 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4505, allocations: 79.94 kB / 0.5903 GB, free: 14.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.07571/0.5262, allocations: 31.83 MB / 0.6214 GB, free: 14.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.519e-05/0.5263, allocations: 16 kB / 0.6214 GB, free: 14.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002982/0.5293, allocations: 1.256 MB / 0.6226 GB, free: 12.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5293, allocations: 19.91 kB / 0.6226 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006828/0.5362, allocations: 1.009 MB / 0.6236 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008895/0.5371, allocations: 0.5383 MB / 0.6241 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.5371, allocations: 36 kB / 0.6242 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.5373, allocations: 75.91 kB / 0.6242 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002046/0.5394, allocations: 1.254 MB / 0.6255 GB, free: 9.828 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.5409, allocations: 0.8513 MB / 0.6263 GB, free: 8.953 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/0.5409, allocations: 4 kB / 0.6263 GB, free: 8.949 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/0.541, allocations: 3.906 kB / 0.6263 GB, free: 8.945 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.541, allocations: 28 kB / 0.6263 GB, free: 8.918 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006868/0.5479, allocations: 4.467 MB / 0.6307 GB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.5491, allocations: 0.687 MB / 0.6314 GB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.5496, allocations: 309 kB / 0.6317 GB, free: 3.184 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.5497, allocations: 93.88 kB / 0.6317 GB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.5497, allocations: 47.28 kB / 0.6318 GB, free: 3.016 MB / 442.7 MB Notification: Performance of pre-optimization done (n=89): time 2.715e-06/0.5497, allocations: 4 kB / 0.6318 GB, free: 3.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=89): time 0.001474/0.5512, allocations: 0.6598 MB / 0.6324 GB, free: 2.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.5513, allocations: 60.19 kB / 0.6325 GB, free: 2.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.5517, allocations: 408.6 kB / 0.6329 GB, free: 1.867 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.5518, allocations: 25.7 kB / 0.6329 GB, free: 1.836 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.552, allocations: 466.1 kB / 0.6334 GB, free: 1.371 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.5522, allocations: 291.7 kB / 0.6336 GB, free: 1.082 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.5522, allocations: 0 / 0.6336 GB, free: 1.082 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5524, allocations: 374.7 kB / 0.634 GB, free: 0.707 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.5528, allocations: 286.6 kB / 0.6343 GB, free: 436 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.5534, allocations: 0.5023 MB / 0.6348 GB, free: 15.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.5544, allocations: 410.8 kB / 0.6351 GB, free: 15.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5545, allocations: 0 / 0.6351 GB, free: 15.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002009/0.5565, allocations: 0.9926 MB / 0.6361 GB, free: 14.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.5565, allocations: 4 kB / 0.6361 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.5565, allocations: 11.98 kB / 0.6361 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.5568, allocations: 65.91 kB / 0.6362 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.5579, allocations: 259.6 kB / 0.6364 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.5598, allocations: 2.512 MB / 0.6389 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/0.5605, allocations: 86.81 kB / 0.639 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/0.5606, allocations: 47.98 kB / 0.639 GB, free: 11.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * 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.0001667/0.5608, allocations: 136.8 kB / 0.6392 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.5609, allocations: 63.25 kB / 0.6392 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.5629, allocations: 0.9919 MB / 0.6402 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5629, allocations: 12 kB / 0.6402 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5629, allocations: 0 / 0.6402 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.5629, allocations: 3.984 kB / 0.6402 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/0.5667, allocations: 2.87 MB / 0.643 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.5667, allocations: 8 kB / 0.643 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/0.5676, allocations: 200.5 kB / 0.6432 GB, free: 6.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/0.5678, allocations: 57.69 kB / 0.6433 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/0.5678, allocations: 11.98 kB / 0.6433 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.5696, allocations: 2.508 MB / 0.6457 GB, free: 3.758 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.5696, allocations: 11.91 kB / 0.6457 GB, free: 3.746 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002198/0.5718, allocations: 1.721 MB / 0.6474 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.572, allocations: 184 kB / 0.6476 GB, free: 1.527 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.5722, allocations: 12 kB / 0.6476 GB, free: 1.516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/0.5728, allocations: 44.03 kB / 0.6476 GB, free: 1.473 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.573, allocations: 76.42 kB / 0.6477 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/0.573, allocations: 28 kB / 0.6477 GB, free: 1.371 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0003774/0.5734, allocations: 315.2 kB / 0.648 GB, free: 1.062 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00105/0.5745, allocations: 294.9 kB / 0.6483 GB, free: 0.7734 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 (92): * Single equations (assignments): 90 * 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.0003137/0.5748, allocations: 166.8 kB / 0.6485 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.5766, allocations: 0.9433 MB / 0.6494 GB, free: 15.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5766, allocations: 256 / 0.6494 GB, free: 15.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000852/0.5775, allocations: 0.5699 MB / 0.65 GB, free: 15.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.578, allocations: 57.64 kB / 0.65 GB, free: 14.99 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.5808, allocations: 1.315 MB / 0.6513 GB, free: 13.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008133/0.5816, allocations: 1.085 MB / 0.6524 GB, free: 12.44 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5816, allocations: 0 / 0.6524 GB, free: 12.44 MB / 474.7 MB Notification: Performance of Templates: time 0.0172/0.5988, allocations: 10.29 MB / 0.6624 GB, free: 2.18 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches