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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 88.2 kB / 20.94 MB, free: 3.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 169 kB / 24.24 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9832/0.9832, allocations: 158.6 MB / 186 MB, free: 2.867 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1594/0.1594, allocations: 32.38 MB / 270.7 MB, free: 14.86 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 347.6 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.637e-05, allocations: 2.312 kB / 347.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001088/0.001114, allocations: 0.5026 MB / 348.1 MB, free: 9.309 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.001883, allocations: 0.8959 MB / 349 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.001914, allocations: 8 kB / 349 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.001931, allocations: 0 / 349 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.002119, allocations: 0 / 349 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.002623, allocations: 72.09 kB / 349.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.785e-05/0.0027, allocations: 4 kB / 349.1 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.00274, allocations: 0 / 349.1 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/0.002777, allocations: 0 / 349.1 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.252e-05/0.002819, allocations: 4 kB / 349.1 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.002829, allocations: 0 / 349.1 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.00295, allocations: 62.83 kB / 349.2 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.002959, allocations: 0 / 349.2 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.00298, allocations: 4 kB / 349.2 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.003138, allocations: 63.84 kB / 349.3 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.003141, allocations: 3.938 kB / 349.3 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.003143, allocations: 0 / 349.3 MB, free: 8.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.003149, allocations: 0 / 349.3 MB, free: 8.199 MB / 282.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.0002921/0.003441, allocations: 377.9 kB / 349.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.003479, allocations: 12.03 kB / 349.6 MB, free: 7.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.003522, allocations: 0.9375 kB / 349.6 MB, free: 7.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.526e-05/0.003608, allocations: 104.6 kB / 349.7 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.00362, allocations: 4.375 kB / 349.7 MB, free: 7.641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.003631, allocations: 8.359 kB / 349.8 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.877e-05/0.003709, allocations: 59.91 kB / 349.8 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.003716, allocations: 192 / 349.8 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.003726, allocations: 4.375 kB / 349.8 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.003734, allocations: 4.359 kB / 349.8 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.275e-05/0.003747, allocations: 29.64 kB / 349.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.937e-05/0.003826, allocations: 108.6 kB / 350 MB, free: 7.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.003862, allocations: 48.77 kB / 350 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.003878, allocations: 45.48 kB / 350 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-06/0.003882, allocations: 3.938 kB / 350.1 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.003909, allocations: 67.08 kB / 350.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.003909, allocations: 0 / 350.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001546/0.004064, allocations: 114.8 kB / 350.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.00409, allocations: 77.11 kB / 350.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.807e-05/0.004138, allocations: 162.2 kB / 350.5 MB, free: 6.766 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-06/0.004142, allocations: 25.7 kB / 350.5 MB, free: 6.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.229e-05/0.004154, allocations: 126.9 kB / 350.6 MB, free: 6.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.00417, allocations: 7.953 kB / 350.6 MB, free: 6.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.004192, allocations: 15.38 kB / 350.6 MB, free: 6.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.004243, allocations: 496.4 kB / 351.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.00426, allocations: 33.64 kB / 351.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.759e-06/0.00427, allocations: 25.7 kB / 351.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.004305, allocations: 75.02 kB / 351.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.004308, allocations: 0 / 351.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.698e-05/0.004355, allocations: 85.11 kB / 351.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.004376, allocations: 33.7 kB / 351.4 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.004381, allocations: 0 / 351.4 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.004394, allocations: 0 / 351.4 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.004396, allocations: 3.984 kB / 351.4 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.0044, allocations: 4.094 kB / 351.4 MB, free: 5.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.023e-05/0.004411, allocations: 3.938 kB / 351.4 MB, free: 5.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.004416, allocations: 4 kB / 351.4 MB, free: 5.762 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.004458, allocations: 190.2 kB / 351.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-06/0.004462, allocations: 4 kB / 351.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.227e-06/0.004471, allocations: 3 kB / 351.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.004473, allocations: 0 / 351.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.004477, allocations: 0 / 351.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.004486, allocations: 3.938 kB / 351.6 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.862e-05/0.004525, allocations: 112.6 kB / 351.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.004526, allocations: 4 kB / 351.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.004526, allocations: 0 / 351.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.004527, allocations: 0 / 351.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.004533, allocations: 0 / 351.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.004534, allocations: 0 / 351.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004535, allocations: 0 / 351.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.408e-05/0.004599, allocations: 135.8 kB / 351.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-06/0.004603, allocations: 0 / 351.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.004615, allocations: 0 / 351.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-06/0.00462, allocations: 0 / 351.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.004632, allocations: 7.938 kB / 351.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.004634, allocations: 4.031 kB / 351.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.491e-05/0.004649, allocations: 119.2 kB / 352 MB, free: 5.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004649, allocations: 0 / 352 MB, free: 5.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.004793, allocations: 31.86 kB / 352 MB, free: 5.07 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003431/0.005136, allocations: 197 kB / 352.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.715e-05/0.005233, allocations: 122.5 kB / 352.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.005236, allocations: 4 kB / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.58e-05/0.005252, allocations: 88.8 kB / 352.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.748e-05/0.005349, allocations: 4 kB / 352.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001644/0.005514, allocations: 115 kB / 352.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.923e-05/0.005533, allocations: 55.48 kB / 352.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.44e-06/0.005538, allocations: 4 kB / 352.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.071e-05/0.005549, allocations: 12.44 kB / 352.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.00555, allocations: 0 / 352.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of Templates: time 0.002509/0.008058, allocations: 0.6864 MB / 353.3 MB, free: 3.715 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1071241479367018]