Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.00202/0.00202, allocations: 204.4 kB / 8.545 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008958/0.0008958, allocations: 99.59 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1915/0.1915, allocations: 45.15 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.174e-05/1.177e-05, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 63.23 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.4243, allocations: 100.6 MB / 0.602 GB, free: 2.461 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.4245, allocations: 84.39 kB / 0.6021 GB, free: 2.418 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.08302/0.5075, allocations: 36.69 MB / 0.6379 GB, free: 4.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.752e-05/0.5076, allocations: 20 kB / 0.6379 GB, free: 4.945 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003365/0.511, allocations: 1.353 MB / 0.6392 GB, free: 3.676 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5111, allocations: 12.03 kB / 0.6392 GB, free: 3.664 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006899/0.518, allocations: 1.023 MB / 0.6402 GB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.5192, allocations: 0.5626 MB / 0.6408 GB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.5193, allocations: 44 kB / 0.6408 GB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.5195, allocations: 83.66 kB / 0.6409 GB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002317/0.5218, allocations: 1.32 MB / 0.6422 GB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.5235, allocations: 0.9287 MB / 0.6431 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.5236, allocations: 3.984 kB / 0.6431 GB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.832e-05/0.5237, allocations: 3.984 kB / 0.6431 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.5237, allocations: 39.91 kB / 0.6432 GB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008666/0.5324, allocations: 5.681 MB / 0.6487 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.5338, allocations: 0.6913 MB / 0.6494 GB, free: 9.969 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005111/0.5343, allocations: 307.6 kB / 0.6497 GB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.5346, allocations: 179 kB / 0.6498 GB, free: 9.453 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.5346, allocations: 51.25 kB / 0.6499 GB, free: 9.395 MB / 442.7 MB Notification: Performance of pre-optimization done (n=90): time 4.579e-06/0.5347, allocations: 0 / 0.6499 GB, free: 9.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=90): time 0.001846/0.5365, allocations: 0.6598 MB / 0.6505 GB, free: 8.723 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.5366, allocations: 64.19 kB / 0.6506 GB, free: 8.648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005934/0.5372, allocations: 428.9 kB / 0.651 GB, free: 8.223 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.5372, allocations: 25.7 kB / 0.651 GB, free: 8.191 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.5376, allocations: 0.5016 MB / 0.6515 GB, free: 7.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.5379, allocations: 291.7 kB / 0.6518 GB, free: 7.391 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.538, allocations: 0 / 0.6518 GB, free: 7.391 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5381, allocations: 374.7 kB / 0.6522 GB, free: 7.016 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/0.5387, allocations: 298.6 kB / 0.6524 GB, free: 6.723 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007115/0.5394, allocations: 0.55 MB / 0.653 GB, free: 6.059 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.5405, allocations: 426.7 kB / 0.6534 GB, free: 5.641 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5405, allocations: 4 kB / 0.6534 GB, free: 5.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002125/0.5426, allocations: 1.044 MB / 0.6544 GB, free: 4.582 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.5427, allocations: 7.938 kB / 0.6544 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.5427, allocations: 8 kB / 0.6544 GB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/0.543, allocations: 61.69 kB / 0.6545 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.5442, allocations: 275.7 kB / 0.6547 GB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.5462, allocations: 2.519 MB / 0.6572 GB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008774/0.5471, allocations: 94.8 kB / 0.6573 GB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.169e-05/0.5472, allocations: 55.98 kB / 0.6573 GB, free: 1.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.0002005/0.5474, allocations: 131.2 kB / 0.6575 GB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.5475, allocations: 67.16 kB / 0.6575 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.5495, allocations: 1.008 MB / 0.6585 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5495, allocations: 8 kB / 0.6585 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.5495, allocations: 0 / 0.6585 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.5495, allocations: 11.92 kB / 0.6585 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004178/0.5537, allocations: 3.309 MB / 0.6618 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.5537, allocations: 7.906 kB / 0.6618 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008366/0.5546, allocations: 196.3 kB / 0.662 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002268/0.5548, allocations: 65.67 kB / 0.662 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.5549, allocations: 16 kB / 0.662 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.5567, allocations: 2.505 MB / 0.6645 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.5567, allocations: 11.94 kB / 0.6645 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00229/0.559, allocations: 1.733 MB / 0.6662 GB, free: 7.289 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.5593, allocations: 184 kB / 0.6664 GB, free: 7.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.5594, allocations: 11.98 kB / 0.6664 GB, free: 7.078 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/0.5601, allocations: 52.03 kB / 0.6664 GB, free: 7.027 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.5602, allocations: 72.33 kB / 0.6665 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/0.5602, allocations: 36 kB / 0.6665 GB, free: 6.922 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0003846/0.5606, allocations: 323.2 kB / 0.6668 GB, free: 6.605 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001047/0.5617, allocations: 314.8 kB / 0.6671 GB, free: 6.297 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (currentRMSSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 91 * 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.0003206/0.562, allocations: 166.8 kB / 0.6673 GB, free: 6.121 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.5636, allocations: 0.9666 MB / 0.6682 GB, free: 5.137 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.5636, allocations: 4.875 kB / 0.6682 GB, free: 5.133 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007922/0.5644, allocations: 0.5681 MB / 0.6688 GB, free: 4.543 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.5649, allocations: 63.69 kB / 0.6689 GB, free: 4.484 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.568, allocations: 1.372 MB / 0.6702 GB, free: 2.992 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000872/0.5689, allocations: 1.12 MB / 0.6713 GB, free: 1.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.163e-06/0.5689, allocations: 0 / 0.6713 GB, free: 1.84 MB / 458.7 MB Notification: Performance of Templates: time 0.01885/0.5878, allocations: 10.58 MB / 0.6816 GB, free: 7.289 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches