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.001693/0.001693, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002102/0.002102, allocations: 207.2 kB / 24.47 MB, free: 3.977 MB / 14.72 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 2.034/2.034, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 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 0.001719/0.001719, allocations: 51.91 kB / 378.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3526, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002019/0.3546, allocations: 0.516 MB / 432.8 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.3668, allocations: 1.91 MB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.608e-05/0.3668, allocations: 0 / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007786/0.3746, allocations: 161.2 kB / 434.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/0.3747, allocations: 19.97 kB / 434.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.3749, allocations: 47.88 kB / 435 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3751, allocations: 51.83 kB / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.3751, allocations: 0 / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.3752, allocations: 31.84 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.783e-05/0.3753, allocations: 23.92 kB / 435.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3753, allocations: 0 / 435.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.126e-05/0.3754, allocations: 19.98 kB / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.3755, allocations: 47.83 kB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.3755, allocations: 11.88 kB / 435.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3757, allocations: 58.44 kB / 435.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3757, allocations: 0 / 435.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3757, allocations: 0 / 435.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3757, allocations: 0 / 435.2 MB, free: 3.875 MB / 334.1 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.0005042/0.3762, allocations: 319.8 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3763, allocations: 15.95 kB / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.3763, allocations: 12.89 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.3765, allocations: 140.9 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.3765, allocations: 384 / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3766, allocations: 4.375 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.3768, allocations: 185 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3768, allocations: 0 / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3768, allocations: 0 / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3768, allocations: 0 / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.3768, allocations: 4 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.3772, allocations: 125.3 kB / 436 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.806e-05/0.3772, allocations: 18.58 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.3772, allocations: 8.922 kB / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.3773, allocations: 3.938 kB / 436 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.3773, allocations: 60.27 kB / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3773, allocations: 4 kB / 436.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.3775, allocations: 53.58 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.3776, allocations: 154.2 kB / 436.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.3778, allocations: 150.1 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3778, allocations: 25.7 kB / 436.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.3779, allocations: 96.12 kB / 436.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.3779, allocations: 3.953 kB / 436.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.3779, allocations: 21.72 kB / 436.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3781, allocations: 318.8 kB / 436.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.3781, allocations: 4 kB / 436.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3782, allocations: 155.2 kB / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.3783, allocations: 12.86 kB / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3783, allocations: 0 / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/0.3784, allocations: 45.69 kB / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3784, allocations: 4 kB / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3784, allocations: 3.938 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3784, allocations: 4 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.884e-05/0.3784, allocations: 3.938 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3784, allocations: 7.922 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.3785, allocations: 12.05 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.3785, allocations: 0 / 437.1 MB, free: 1.648 MB / 334.1 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.000124/0.3786, allocations: 125.8 kB / 437.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.3787, allocations: 4 kB / 437.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.3787, allocations: 19.7 kB / 437.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3787, allocations: 0 / 437.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3787, allocations: 3.984 kB / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3787, allocations: 0 / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.3789, allocations: 121.2 kB / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3789, allocations: 0 / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.3789, allocations: 8 kB / 437.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3789, allocations: 4 kB / 437.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3789, allocations: 0 / 437.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3789, allocations: 7.938 kB / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3789, allocations: 3.984 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.3791, allocations: 73.02 kB / 437.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.3791, allocations: 16.02 kB / 437.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3791, allocations: 4 kB / 437.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.3792, allocations: 3.938 kB / 437.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.3792, allocations: 0 / 437.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.3792, allocations: 4.094 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.3793, allocations: 126 kB / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3793, allocations: 0 / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.3796, allocations: 15.94 kB / 437.7 MB, free: 1.062 MB / 334.1 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.0003903/0.38, allocations: 145.3 kB / 437.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.765e-05/0.3801, allocations: 15.98 kB / 437.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3801, allocations: 0 / 437.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.3801, allocations: 4 kB / 437.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.3803, allocations: 11.94 kB / 437.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.3808, allocations: 257.6 kB / 438.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.3809, allocations: 96.59 kB / 438.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.842e-05/0.381, allocations: 20.05 kB / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.381, allocations: 19.42 kB / 438.2 MB, free: 488 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.381, allocations: 0 / 438.2 MB, free: 488 kB / 334.1 MB Notification: Performance of Templates: time 0.01381/0.3948, allocations: 1.125 MB / 439.3 MB, free: 15.39 MB / 350.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/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: 6.526262397994287]