Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00166/0.00166, allocations: 84.39 kB / 22.21 MB, free: 2.285 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.0013/0.0013, allocations: 163.1 kB / 25.6 MB, free: 8.109 MB / 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.9997/0.9997, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 3.938 kB / 251.4 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.423e-05, allocations: 2.312 kB / 251.4 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001208/0.001243, allocations: 0.5305 MB / 252 MB, free: 6.742 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.002977, allocations: 1.971 MB / 253.9 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.003026, allocations: 3.938 kB / 253.9 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.004866, allocations: 190.8 kB / 254.1 MB, free: 4.602 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.004921, allocations: 35.89 kB / 254.2 MB, free: 4.566 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.005088, allocations: 43.83 kB / 254.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.56e-05/0.005174, allocations: 47.89 kB / 254.3 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.449e-05/0.005208, allocations: 7.922 kB / 254.3 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.006211, allocations: 312.9 kB / 254.6 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.006297, allocations: 15.97 kB / 254.6 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.006317, allocations: 4 kB / 254.6 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.219e-05/0.006369, allocations: 15.98 kB / 254.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.006441, allocations: 43.84 kB / 254.6 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.006468, allocations: 11.94 kB / 254.7 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.006681, allocations: 71.61 kB / 254.7 MB, free: 4.016 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.006684, allocations: 0 / 254.7 MB, free: 4.016 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006685, allocations: 4 kB / 254.7 MB, free: 4.012 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.00669, allocations: 0 / 254.7 MB, free: 4.012 MB / 234.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.0003497/0.007039, allocations: 453.6 kB / 255.2 MB, free: 3.527 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.007075, allocations: 15.98 kB / 255.2 MB, free: 3.512 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.007108, allocations: 8.891 kB / 255.2 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.007248, allocations: 161.2 kB / 255.4 MB, free: 3.32 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.007255, allocations: 4.375 kB / 255.4 MB, free: 3.316 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.007272, allocations: 8.359 kB / 255.4 MB, free: 3.309 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.938e-05/0.007351, allocations: 71.34 kB / 255.4 MB, free: 3.219 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.007357, allocations: 4.125 kB / 255.4 MB, free: 3.215 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.007364, allocations: 384 / 255.4 MB, free: 3.215 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.007369, allocations: 3.938 kB / 255.4 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-06/0.007375, allocations: 0 / 255.4 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.007582, allocations: 125.2 kB / 255.6 MB, free: 3.059 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.049e-05/0.007612, allocations: 27.06 kB / 255.6 MB, free: 3.02 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.086e-05/0.007623, allocations: 11.69 kB / 255.6 MB, free: 3.004 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-06/0.007629, allocations: 4 kB / 255.6 MB, free: 3 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.007658, allocations: 63.16 kB / 255.7 MB, free: 2.922 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.007659, allocations: 0 / 255.7 MB, free: 2.922 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 9.783e-05/0.007757, allocations: 45.55 kB / 255.7 MB, free: 2.871 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.007789, allocations: 85.09 kB / 255.8 MB, free: 2.77 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.007903, allocations: 238.6 kB / 256 MB, free: 2.52 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.007914, allocations: 29.7 kB / 256.1 MB, free: 2.484 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.007967, allocations: 154.8 kB / 256.2 MB, free: 2.328 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.007986, allocations: 7.984 kB / 256.2 MB, free: 2.32 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.008014, allocations: 19.5 kB / 256.2 MB, free: 2.293 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.008126, allocations: 0.5079 MB / 256.8 MB, free: 1.773 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.008134, allocations: 0 / 256.8 MB, free: 1.773 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.008163, allocations: 45.08 kB / 256.8 MB, free: 1.715 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.135e-05/0.008185, allocations: 15.62 kB / 256.8 MB, free: 1.695 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.008186, allocations: 0 / 256.8 MB, free: 1.695 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.832e-05/0.008244, allocations: 53.59 kB / 256.9 MB, free: 1.637 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.008256, allocations: 8 kB / 256.9 MB, free: 1.629 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.00826, allocations: 0 / 256.9 MB, free: 1.629 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.008269, allocations: 0 / 256.9 MB, free: 1.629 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-05/0.008296, allocations: 4.125 kB / 256.9 MB, free: 1.625 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.008299, allocations: 4 kB / 256.9 MB, free: 1.621 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.008322, allocations: 3.938 kB / 256.9 MB, free: 1.617 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.008326, allocations: 0 / 256.9 MB, free: 1.617 MB / 234.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 5.877e-05/0.008384, allocations: 156.6 kB / 257 MB, free: 1.453 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.008395, allocations: 7.953 kB / 257 MB, free: 1.445 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.008421, allocations: 16.48 kB / 257.1 MB, free: 1.426 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.008422, allocations: 3.938 kB / 257.1 MB, free: 1.422 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.008424, allocations: 0 / 257.1 MB, free: 1.422 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.008427, allocations: 3.938 kB / 257.1 MB, free: 1.418 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.008545, allocations: 125.2 kB / 257.2 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.008546, allocations: 0 / 257.2 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/0.00856, allocations: 4 kB / 257.2 MB, free: 1.266 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.008562, allocations: 3.984 kB / 257.2 MB, free: 1.262 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.008569, allocations: 0 / 257.2 MB, free: 1.262 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008571, allocations: 8 kB / 257.2 MB, free: 1.254 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008572, allocations: 0 / 257.2 MB, free: 1.254 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.055e-05/0.008663, allocations: 80.3 kB / 257.3 MB, free: 1.152 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.008694, allocations: 11.94 kB / 257.3 MB, free: 1.141 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.008705, allocations: 0 / 257.3 MB, free: 1.141 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/0.008719, allocations: 8.062 kB / 257.3 MB, free: 1.133 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-06/0.008728, allocations: 0 / 257.3 MB, free: 1.133 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.00873, allocations: 0 / 257.3 MB, free: 1.133 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.315e-05/0.008793, allocations: 177 kB / 257.5 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008793, allocations: 3.938 kB / 257.5 MB, free: 0.957 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001356/0.008929, allocations: 11.94 kB / 257.5 MB, free: 0.9453 MB / 234.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.000285/0.009214, allocations: 167.9 kB / 257.7 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.08e-05/0.009274, allocations: 19.61 kB / 257.7 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.009276, allocations: 0 / 257.7 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.588e-06/0.009286, allocations: 11.69 kB / 257.7 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.009396, allocations: 8 kB / 257.7 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/0.00963, allocations: 218.6 kB / 257.9 MB, free: 500 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.484e-05/0.009694, allocations: 71.33 kB / 258 MB, free: 408 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.598e-05/0.00972, allocations: 8.484 kB / 258 MB, free: 400 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.009794, allocations: 94.17 kB / 258.1 MB, free: 304 kB / 234.7 MB Notification: Performance of SimCode: time 9.32e-07/0.009794, allocations: 0 / 258.1 MB, free: 304 kB / 234.7 MB Notification: Performance of Templates: time 0.00286/0.01265, allocations: 1.015 MB / 259.1 MB, free: 15.29 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.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: 2.6813684049993753]