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.001903/0.001903, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002024/0.002024, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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 1.681/1.681, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.754e-06/1.754e-06, allocations: 0 / 272.3 MB, free: 1.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.674e-05, allocations: 2.312 kB / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002286/0.002313, allocations: 0.5411 MB / 272.8 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003717/0.006031, allocations: 1.938 MB / 274.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.00608, allocations: 0 / 274.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004034/0.01011, allocations: 246.3 kB / 275 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.11e-05/0.01021, allocations: 19.97 kB / 275 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.01048, allocations: 47.86 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.01062, allocations: 47.84 kB / 275.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.01066, allocations: 3.938 kB / 275.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.01081, allocations: 39.89 kB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.01091, allocations: 15.92 kB / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.01094, allocations: 4 kB / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-05/0.01101, allocations: 19.97 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.01113, allocations: 35.92 kB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.01119, allocations: 15.92 kB / 275.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.01146, allocations: 55.75 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.01146, allocations: 4 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01146, allocations: 0 / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.01147, allocations: 0 / 275.3 MB, free: 14.93 MB / 266.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.0006661/0.01214, allocations: 417.7 kB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.01218, allocations: 12.03 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.01226, allocations: 8.891 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.01253, allocations: 144.4 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.01254, allocations: 384 / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.01257, allocations: 8.375 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.01285, allocations: 179.5 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.01287, allocations: 4.172 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.01288, allocations: 384 / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.01289, allocations: 3.938 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.01291, allocations: 7.984 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.01334, allocations: 128.7 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.488e-05/0.01341, allocations: 27.06 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.01344, allocations: 19.62 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-06/0.01345, allocations: 0 / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.914e-05/0.01352, allocations: 63.16 kB / 276.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.01352, allocations: 0 / 276.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001909/0.01371, allocations: 41.64 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.01387, allocations: 162.2 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.01412, allocations: 196.5 kB / 276.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.01416, allocations: 33.7 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.01429, allocations: 142.9 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.01431, allocations: 128 / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.01438, allocations: 27.38 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003567/0.01474, allocations: 0.4923 MB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.887e-05/0.01475, allocations: 3.938 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.01493, allocations: 153.2 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.815e-05/0.01498, allocations: 15.69 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.01499, allocations: 8 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001307/0.01512, allocations: 41.66 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.01514, allocations: 8 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01514, allocations: 3.938 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.01516, allocations: 4.094 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.563e-05/0.0152, allocations: 11.92 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01521, allocations: 3.938 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.65e-05/0.0153, allocations: 0 / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.01531, allocations: 4 kB / 277.6 MB, free: 12.26 MB / 266.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 0.0001585/0.01546, allocations: 156.6 kB / 277.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.0155, allocations: 7.953 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.01552, allocations: 7.812 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.01553, allocations: 3.984 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.01554, allocations: 3.938 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.01555, allocations: 8 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.01581, allocations: 128.6 kB / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01581, allocations: 0 / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.01586, allocations: 4 kB / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01586, allocations: 0 / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.01587, allocations: 0 / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01587, allocations: 0 / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.01587, allocations: 3.984 kB / 278 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.01606, allocations: 80.28 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.01612, allocations: 20 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.01614, allocations: 4 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.01622, allocations: 0 / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.01624, allocations: 4 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.01625, allocations: 3.938 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.01641, allocations: 143.2 kB / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01641, allocations: 4 kB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003764/0.01679, allocations: 15.94 kB / 278.2 MB, free: 11.61 MB / 266.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.0007084/0.0175, allocations: 147.9 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.01762, allocations: 19.67 kB / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01762, allocations: 0 / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.01765, allocations: 15.62 kB / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.01791, allocations: 10.66 kB / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.01846, allocations: 234 kB / 278.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.01861, allocations: 96.73 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.764e-05/0.01868, allocations: 7.984 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.01874, allocations: 20.5 kB / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01874, allocations: 0 / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of Templates: time 0.005742/0.02448, allocations: 1.094 MB / 279.9 MB, free: 9.969 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] 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.599261965951882]