Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") [: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 3.2.3+maint.om/package.mo): time 0.0008828/0.0008829, allocations: 187.8 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9936/0.9936, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0007858/0.0007859, allocations: 94.83 kB / 261.4 MB, free: 13.55 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.1492/0.1492, allocations: 43.49 MB / 352.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.26e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2303, allocations: 58.84 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3321, allocations: 83.78 MB / 0.5472 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.3323, allocations: 59.97 kB / 0.5473 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009046/0.3414, allocations: 3.392 MB / 0.5506 GB, free: 11.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.3414, allocations: 0 / 0.5506 GB, free: 11.71 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002984/0.3417, allocations: 384 kB / 0.5509 GB, free: 11.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3417, allocations: 8.031 kB / 0.5509 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.3418, allocations: 7.984 kB / 0.551 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.3419, allocations: 159.1 kB / 0.5511 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3419, allocations: 7.984 kB / 0.5511 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.3419, allocations: 0 / 0.5511 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.332e-05/0.3419, allocations: 0 / 0.5511 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.676e-05/0.342, allocations: 33.61 kB / 0.5511 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.342, allocations: 3.938 kB / 0.5512 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.342, allocations: 3.172 kB / 0.5512 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.342, allocations: 3.938 kB / 0.5512 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.3421, allocations: 130.3 kB / 0.5513 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.889e-05/0.3422, allocations: 18.58 kB / 0.5513 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/0.3422, allocations: 4.859 kB / 0.5513 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.3422, allocations: 0 / 0.5513 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3423, allocations: 64.33 kB / 0.5514 GB, free: 10.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3423, allocations: 0 / 0.5514 GB, free: 10.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.3424, allocations: 29.7 kB / 0.5514 GB, free: 10.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3425, allocations: 88.94 kB / 0.5515 GB, free: 10.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.175e-05/0.3425, allocations: 89.03 kB / 0.5516 GB, free: 10.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3425, allocations: 29.7 kB / 0.5516 GB, free: 10.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.032e-05/0.3426, allocations: 80.14 kB / 0.5517 GB, free: 10.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.3426, allocations: 0 / 0.5517 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.3426, allocations: 0 / 0.5517 GB, free: 10.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.3427, allocations: 314.8 kB / 0.552 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-06/0.3427, allocations: 0 / 0.552 GB, free: 10.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.3427, allocations: 4 kB / 0.552 GB, free: 10.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.3427, allocations: 4.188 kB / 0.552 GB, free: 10.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3427, allocations: 0 / 0.552 GB, free: 10.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.731e-05/0.3428, allocations: 33.69 kB / 0.552 GB, free: 10.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.3428, allocations: 8 kB / 0.552 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3428, allocations: 0 / 0.552 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3428, allocations: 3.906 kB / 0.552 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.3428, allocations: 0 / 0.552 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3428, allocations: 0 / 0.552 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.3429, allocations: 0 / 0.552 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3429, allocations: 0 / 0.552 GB, free: 10.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.485e-05/0.3429, allocations: 138.7 kB / 0.5522 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.343, allocations: 7.922 kB / 0.5522 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.237e-05/0.343, allocations: 3 kB / 0.5522 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.343, allocations: 3.906 kB / 0.5522 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.343, allocations: 4 kB / 0.5522 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.343, allocations: 0 / 0.5522 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.616e-05/0.3431, allocations: 126.2 kB / 0.5523 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.3431, allocations: 0 / 0.5523 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3431, allocations: 0 / 0.5523 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.3431, allocations: 0 / 0.5523 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.3431, allocations: 15.98 kB / 0.5523 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.3431, allocations: 0 / 0.5523 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3431, allocations: 0 / 0.5523 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.125e-05/0.3432, allocations: 57.05 kB / 0.5524 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.3433, allocations: 81.09 kB / 0.5524 GB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3433, allocations: 3.938 kB / 0.5524 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-06/0.3433, allocations: 0 / 0.5524 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.3433, allocations: 4.031 kB / 0.5524 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3433, allocations: 11.98 kB / 0.5525 GB, free: 9.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.241e-05/0.3433, allocations: 75.28 kB / 0.5525 GB, free: 9.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.3435, allocations: 23.91 kB / 0.5526 GB, free: 9.379 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003157/0.3439, allocations: 183 kB / 0.5527 GB, free: 9.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.201e-05/0.3439, allocations: 29.7 kB / 0.5528 GB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3439, allocations: 0 / 0.5528 GB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.344, allocations: 29.7 kB / 0.5528 GB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.444e-05/0.344, allocations: 7.938 kB / 0.5528 GB, free: 9.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001244/0.3442, allocations: 48.14 kB / 0.5528 GB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3444, allocations: 0.688 MB / 0.5535 GB, free: 8.336 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3444, allocations: 3.938 kB / 0.5535 GB, free: 8.332 MB / 394.7 MB Notification: Performance of Templates: time 0.002188/0.3466, allocations: 0.6143 MB / 0.5541 GB, free: 7.723 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches