Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009808/0.0009808, allocations: 177.5 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.001043/0.001043, allocations: 89.03 kB / 271.9 MB, free: 8.266 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.6809/0.6809, allocations: 43.56 MB / 363.8 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005226, allocations: 19.98 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1857, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5444/0.7302, allocations: 86.5 MB / 0.5644 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.7306, allocations: 63.97 kB / 0.5644 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02463/0.7552, allocations: 6.479 MB / 0.5708 GB, free: 9.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.7553, allocations: 4 kB / 0.5708 GB, free: 9.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.7553, allocations: 0 / 0.5708 GB, free: 9.281 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.0007256/0.7561, allocations: 418.1 kB / 0.5712 GB, free: 8.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.026e-05/0.7562, allocations: 8.031 kB / 0.5712 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.7562, allocations: 2.969 kB / 0.5712 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.7564, allocations: 160.4 kB / 0.5713 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.7564, allocations: 5.594 kB / 0.5713 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.7565, allocations: 384 / 0.5713 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.7566, allocations: 34.19 kB / 0.5714 GB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.7566, allocations: 4.188 kB / 0.5714 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.7566, allocations: 7.938 kB / 0.5714 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.7566, allocations: 0 / 0.5714 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.7567, allocations: 0 / 0.5714 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.7569, allocations: 153.7 kB / 0.5715 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.757, allocations: 18.56 kB / 0.5716 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.757, allocations: 4.859 kB / 0.5716 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.757, allocations: 4.062 kB / 0.5716 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.317e-05/0.7571, allocations: 64.2 kB / 0.5716 GB, free: 8.242 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.7571, allocations: 0 / 0.5716 GB, free: 8.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002848/0.7574, allocations: 74.05 kB / 0.5717 GB, free: 8.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.7575, allocations: 77.11 kB / 0.5718 GB, free: 8.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.7576, allocations: 97.8 kB / 0.5719 GB, free: 7.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.7576, allocations: 25.7 kB / 0.5719 GB, free: 7.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.7577, allocations: 80.14 kB / 0.572 GB, free: 7.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.7577, allocations: 8.156 kB / 0.572 GB, free: 7.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.7578, allocations: 4 kB / 0.572 GB, free: 7.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.7579, allocations: 314.8 kB / 0.5723 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.758, allocations: 0 / 0.5723 GB, free: 7.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-06/0.758, allocations: 0 / 0.5723 GB, free: 7.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.861e-05/0.758, allocations: 68.19 kB / 0.5723 GB, free: 7.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7581, allocations: 0 / 0.5723 GB, free: 7.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.2e-05/0.7582, allocations: 59.41 kB / 0.5724 GB, free: 7.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.7582, allocations: 41.8 kB / 0.5724 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.7583, allocations: 3.938 kB / 0.5724 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.7583, allocations: 3.984 kB / 0.5724 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.556e-06/0.7583, allocations: 3.984 kB / 0.5724 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.7583, allocations: 0 / 0.5724 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.7583, allocations: 0 / 0.5724 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.7584, allocations: 4 kB / 0.5724 GB, free: 7.305 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 0.0001195/0.7585, allocations: 131.5 kB / 0.5726 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.7585, allocations: 4 kB / 0.5726 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.7585, allocations: 11.06 kB / 0.5726 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7585, allocations: 0 / 0.5726 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7586, allocations: 0 / 0.5726 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.7586, allocations: 0 / 0.5726 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.7587, allocations: 153.6 kB / 0.5727 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7587, allocations: 0 / 0.5727 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.7587, allocations: 0 / 0.5727 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.7587, allocations: 4.844 kB / 0.5727 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.7588, allocations: 3.938 kB / 0.5727 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7588, allocations: 0 / 0.5727 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7588, allocations: 0 / 0.5727 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.7589, allocations: 99.08 kB / 0.5728 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.759, allocations: 77.11 kB / 0.5729 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.759, allocations: 7.938 kB / 0.5729 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.759, allocations: 0 / 0.5729 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.7591, allocations: 3.984 kB / 0.5729 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.7591, allocations: 7.875 kB / 0.5729 GB, free: 6.707 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.7591, allocations: 83.31 kB / 0.573 GB, free: 6.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7592, allocations: 0 / 0.573 GB, free: 6.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000654/0.7598, allocations: 104 kB / 0.5731 GB, free: 6.523 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.00108/0.7609, allocations: 388.7 kB / 0.5735 GB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.7611, allocations: 59.41 kB / 0.5735 GB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7611, allocations: 4 kB / 0.5735 GB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.267e-05/0.7611, allocations: 51.41 kB / 0.5736 GB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.7613, allocations: 4 kB / 0.5736 GB, free: 6.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.7616, allocations: 110.7 kB / 0.5737 GB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.762, allocations: 0.6692 MB / 0.5744 GB, free: 5.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.762, allocations: 11.44 kB / 0.5744 GB, free: 5.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.762, allocations: 4.125 kB / 0.5744 GB, free: 5.227 MB / 394.7 MB Notification: Performance of Templates: time 0.005864/0.7679, allocations: 2.034 MB / 0.5764 GB, free: 3.191 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches