Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.0008122/0.0008122, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003465/0.003465, allocations: 159 kB / 24.7 MB, free: 9.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8528/0.8528, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.757e-05, allocations: 6.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0009062/0.0009238, allocations: 0.5268 MB / 326.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.002472, allocations: 1.917 MB / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.002507, allocations: 0 / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.00364, allocations: 173.2 kB / 328.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.386e-05/0.003684, allocations: 23.97 kB / 328.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.003823, allocations: 54.94 kB / 328.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.003908, allocations: 47.83 kB / 328.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.003943, allocations: 4 kB / 328.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.004021, allocations: 35.91 kB / 328.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.004085, allocations: 19.92 kB / 328.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.0041, allocations: 0 / 328.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-05/0.004147, allocations: 11.98 kB / 328.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.004218, allocations: 47.89 kB / 328.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.004249, allocations: 11.94 kB / 328.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.004402, allocations: 55.81 kB / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.004404, allocations: 0 / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004405, allocations: 0 / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004409, allocations: 0 / 328.7 MB, free: 12.55 MB / 298.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.0003389/0.004748, allocations: 322.7 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.004781, allocations: 12.03 kB / 329 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.004816, allocations: 12.83 kB / 329.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.00497, allocations: 133.6 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.004978, allocations: 4.312 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.004995, allocations: 384 / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.005143, allocations: 177.4 kB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.005154, allocations: 192 / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.005166, allocations: 4.375 kB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.005172, allocations: 3.938 kB / 329.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.498e-05/0.005197, allocations: 7.922 kB / 329.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.005429, allocations: 117.3 kB / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.005465, allocations: 22.58 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.00548, allocations: 12.91 kB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.005489, allocations: 0 / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.005517, allocations: 56.27 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.774e-06/0.005519, allocations: 4 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.000118/0.005637, allocations: 45.59 kB / 329.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.005702, allocations: 170.1 kB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.005794, allocations: 146.2 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.005804, allocations: 25.7 kB / 330 MB, free: 11.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.005843, allocations: 96.12 kB / 330.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.005859, allocations: 0 / 330.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.005887, allocations: 21.72 kB / 330.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.005961, allocations: 318.8 kB / 330.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.005971, allocations: 4 kB / 330.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-05/0.006028, allocations: 147.2 kB / 330.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.316e-05/0.006052, allocations: 16.8 kB / 330.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006054, allocations: 4 kB / 330.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.674e-05/0.006101, allocations: 49.64 kB / 330.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.006113, allocations: 4 kB / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.006118, allocations: 3.938 kB / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.006129, allocations: 0 / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.627e-05/0.006155, allocations: 8 kB / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.006161, allocations: 3.938 kB / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.0062, allocations: 4.094 kB / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.006204, allocations: 4 kB / 330.6 MB, free: 10.34 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.182e-05/0.006266, allocations: 125.8 kB / 330.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.006274, allocations: 7.953 kB / 330.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.765e-05/0.006292, allocations: 15.75 kB / 330.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.006294, allocations: 8.031 kB / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.006299, allocations: 3.938 kB / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.006302, allocations: 0 / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.901e-05/0.006401, allocations: 117.3 kB / 330.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.006401, allocations: 0 / 330.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.006415, allocations: 7.922 kB / 330.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.006416, allocations: 7.938 kB / 330.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.006421, allocations: 0 / 330.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.006422, allocations: 4 kB / 330.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006423, allocations: 0 / 330.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.053e-05/0.006514, allocations: 77.02 kB / 331 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.006535, allocations: 7.984 kB / 331 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.006546, allocations: 0 / 331 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.666e-05/0.006573, allocations: 7.984 kB / 331 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.006586, allocations: 0 / 331 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.006589, allocations: 3.938 kB / 331 MB, free: 9.898 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.006639, allocations: 126.3 kB / 331.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006639, allocations: 0 / 331.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001243/0.006764, allocations: 15.94 kB / 331.2 MB, free: 9.762 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.000223/0.006986, allocations: 143.4 kB / 331.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.007053, allocations: 19.86 kB / 331.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.007055, allocations: 0 / 331.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-06/0.007061, allocations: 4 kB / 331.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.007182, allocations: 8 kB / 331.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.007423, allocations: 203.4 kB / 331.5 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.346e-05/0.007467, allocations: 75.27 kB / 331.6 MB, free: 9.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.007494, allocations: 24.48 kB / 331.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.007494, allocations: 4.125 kB / 331.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of Templates: time 0.002113/0.009607, allocations: 1.438 MB / 333.1 MB, free: 7.832 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3788278410211205]