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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008638/0.0008638, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.356/1.356, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008526/0.0008526, allocations: 88.98 kB / 271.3 MB, free: 8.25 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.3385/0.3385, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 12 kB / 432.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1357, allocations: 58.85 MB / 491.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3809/0.5167, allocations: 84.59 MB / 0.5626 GB, free: 1.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.517, allocations: 55.98 kB / 0.5626 GB, free: 1.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004174/0.5212, allocations: 1.917 MB / 0.5645 GB, free: 15.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.5212, allocations: 6.594 kB / 0.5645 GB, free: 15.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.5212, allocations: 0 / 0.5645 GB, free: 15.46 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.000399/0.5216, allocations: 353 kB / 0.5648 GB, free: 15.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.5217, allocations: 8.031 kB / 0.5648 GB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.5217, allocations: 0.9375 kB / 0.5648 GB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.5219, allocations: 165.3 kB / 0.565 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.5219, allocations: 1.188 kB / 0.565 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.5219, allocations: 6.906 kB / 0.565 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.385e-05/0.522, allocations: 30.2 kB / 0.565 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.522, allocations: 192 / 0.565 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5221, allocations: 3.938 kB / 0.565 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5221, allocations: 0 / 0.565 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.5221, allocations: 8 kB / 0.565 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.5223, allocations: 149.7 kB / 0.5652 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.071e-05/0.5223, allocations: 18.61 kB / 0.5652 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.5223, allocations: 11.45 kB / 0.5652 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.5224, allocations: 0.6562 kB / 0.5652 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.5224, allocations: 60.27 kB / 0.5653 GB, free: 14.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5224, allocations: 4.062 kB / 0.5653 GB, free: 14.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001771/0.5226, allocations: 71.33 kB / 0.5653 GB, free: 14.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.5227, allocations: 77.11 kB / 0.5654 GB, free: 14.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.597e-05/0.5227, allocations: 89.86 kB / 0.5655 GB, free: 14.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.5228, allocations: 25.7 kB / 0.5655 GB, free: 14.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.5228, allocations: 87.42 kB / 0.5656 GB, free: 14.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.5229, allocations: 10.02 kB / 0.5656 GB, free: 14.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-06/0.5229, allocations: 0 / 0.5656 GB, free: 14.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.523, allocations: 310.8 kB / 0.5659 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-06/0.523, allocations: 8.188 kB / 0.5659 GB, free: 13.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.523, allocations: 0 / 0.5659 GB, free: 13.78 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.5231, allocations: 64.25 kB / 0.566 GB, free: 13.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5231, allocations: 0.5469 kB / 0.566 GB, free: 13.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.604e-05/0.5231, allocations: 63.41 kB / 0.566 GB, free: 13.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.5232, allocations: 34.95 kB / 0.5661 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5232, allocations: 3.938 kB / 0.5661 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.5232, allocations: 0 / 0.5661 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.5232, allocations: 0.75 kB / 0.5661 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5232, allocations: 7.984 kB / 0.5661 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.187e-05/0.5232, allocations: 0 / 0.5661 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.5233, allocations: 0 / 0.5661 GB, free: 13.57 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 () * Number of clocked 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 8.905e-05/0.5234, allocations: 139.5 kB / 0.5662 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.5234, allocations: 0 / 0.5662 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.352e-05/0.5234, allocations: 11 kB / 0.5662 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5234, allocations: 1.062 kB / 0.5662 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5234, allocations: 4 kB / 0.5662 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.5234, allocations: 0 / 0.5662 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.778e-05/0.5235, allocations: 153.7 kB / 0.5664 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.5235, allocations: 0 / 0.5664 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.5235, allocations: 0 / 0.5664 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5235, allocations: 0 / 0.5664 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.5235, allocations: 9.875 kB / 0.5664 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.5236, allocations: 0 / 0.5664 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5236, allocations: 0 / 0.5664 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.353e-05/0.5237, allocations: 90.83 kB / 0.5665 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.5237, allocations: 85.12 kB / 0.5666 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.5237, allocations: 3.938 kB / 0.5666 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.5237, allocations: 0 / 0.5666 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.5238, allocations: 4 kB / 0.5666 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.5238, allocations: 0 / 0.5666 GB, free: 12.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.491e-05/0.5238, allocations: 83.95 kB / 0.5666 GB, free: 12.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5238, allocations: 0 / 0.5666 GB, free: 12.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.524, allocations: 24 kB / 0.5667 GB, free: 12.88 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) * Number of clocked states: 0 () * 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.0003564/0.5244, allocations: 190 kB / 0.5668 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.696e-05/0.5245, allocations: 63.39 kB / 0.5669 GB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5245, allocations: 4.062 kB / 0.5669 GB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.5246, allocations: 55.41 kB / 0.567 GB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.5247, allocations: 0 / 0.567 GB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.5249, allocations: 92.8 kB / 0.5671 GB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.5252, allocations: 0.6731 MB / 0.5677 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.412e-06/0.5252, allocations: 0 / 0.5677 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.5252, allocations: 11.44 kB / 0.5677 GB, free: 11.76 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5252, allocations: 0 / 0.5677 GB, free: 11.76 MB / 394.7 MB Notification: Performance of Templates: time 0.002719/0.5279, allocations: 0.6293 MB / 0.5683 GB, free: 11.14 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/jenkins1/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