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.001412/0.001412, allocations: 84.84 kB / 21.43 MB, free: 296 kB / 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.001485/0.001485, allocations: 160.9 kB / 24.7 MB, free: 3.551 MB / 14.72 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 1.454/1.454, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] 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.844e-06/1.844e-06, allocations: 0 / 298.9 MB, free: 8.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.68e-05, allocations: 6.281 kB / 298.9 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001615/0.001642, allocations: 0.522 MB / 299.4 MB, free: 8.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.004197, allocations: 1.904 MB / 301.3 MB, free: 6.309 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.004251, allocations: 4 kB / 301.3 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.006472, allocations: 136.8 kB / 301.5 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.61e-05/0.006548, allocations: 23.97 kB / 301.5 MB, free: 6.152 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.006774, allocations: 51.86 kB / 301.6 MB, free: 6.102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.006889, allocations: 47.83 kB / 301.6 MB, free: 6.055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.006931, allocations: 8 kB / 301.6 MB, free: 6.047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.007045, allocations: 31.91 kB / 301.6 MB, free: 6.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.007163, allocations: 27.84 kB / 301.7 MB, free: 5.988 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.007194, allocations: 4 kB / 301.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.00726, allocations: 19.92 kB / 301.7 MB, free: 5.965 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.00737, allocations: 51.83 kB / 301.7 MB, free: 5.914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.007418, allocations: 11.94 kB / 301.8 MB, free: 5.902 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.007653, allocations: 47.88 kB / 301.8 MB, free: 5.855 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.007658, allocations: 4 kB / 301.8 MB, free: 5.852 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.007661, allocations: 7.922 kB / 301.8 MB, free: 5.844 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.007666, allocations: 4 kB / 301.8 MB, free: 5.84 MB / 286.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.0004844/0.00815, allocations: 323.7 kB / 302.1 MB, free: 5.488 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.008189, allocations: 11.98 kB / 302.1 MB, free: 5.477 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.008238, allocations: 8.891 kB / 302.2 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.008451, allocations: 143.8 kB / 302.3 MB, free: 5.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.008463, allocations: 384 / 302.3 MB, free: 5.305 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.008483, allocations: 4.328 kB / 302.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.008676, allocations: 177.3 kB / 302.5 MB, free: 5.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.008683, allocations: 4.188 kB / 302.5 MB, free: 5.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.008697, allocations: 4.375 kB / 302.5 MB, free: 5.074 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.008705, allocations: 7.922 kB / 302.5 MB, free: 5.066 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.59e-05/0.008721, allocations: 0 / 302.5 MB, free: 5.066 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.009017, allocations: 121.3 kB / 302.6 MB, free: 4.918 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.161e-05/0.009069, allocations: 22.56 kB / 302.6 MB, free: 4.887 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.009086, allocations: 4.859 kB / 302.6 MB, free: 4.879 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.009099, allocations: 4.062 kB / 302.6 MB, free: 4.875 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.009148, allocations: 64.2 kB / 302.7 MB, free: 4.797 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.009149, allocations: 0 / 302.7 MB, free: 4.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.009306, allocations: 45.69 kB / 302.7 MB, free: 4.746 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.474e-05/0.009401, allocations: 158.2 kB / 302.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.009548, allocations: 149.8 kB / 303 MB, free: 4.398 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.00957, allocations: 29.7 kB / 303.1 MB, free: 4.363 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.009634, allocations: 92.14 kB / 303.2 MB, free: 4.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.009654, allocations: 7.953 kB / 303.2 MB, free: 4.262 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.009695, allocations: 17.7 kB / 303.2 MB, free: 4.238 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.009855, allocations: 318.8 kB / 303.5 MB, free: 3.918 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.009871, allocations: 4 kB / 303.5 MB, free: 3.914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.01001, allocations: 155.2 kB / 303.7 MB, free: 3.723 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.943e-05/0.01004, allocations: 8.859 kB / 303.7 MB, free: 3.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01004, allocations: 0 / 303.7 MB, free: 3.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.81e-05/0.01013, allocations: 53.64 kB / 303.7 MB, free: 3.652 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.01014, allocations: 4 kB / 303.7 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.01014, allocations: 0 / 303.7 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.01015, allocations: 0 / 303.7 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.991e-05/0.01018, allocations: 11.88 kB / 303.7 MB, free: 3.637 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01019, allocations: 0 / 303.7 MB, free: 3.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.205e-05/0.01026, allocations: 7.984 kB / 303.7 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.01026, allocations: 4.094 kB / 303.7 MB, free: 3.625 MB / 286.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.0001107/0.01038, allocations: 129.8 kB / 303.9 MB, free: 3.488 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.0104, allocations: 7.953 kB / 303.9 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.01042, allocations: 15.69 kB / 303.9 MB, free: 3.469 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.01042, allocations: 0 / 303.9 MB, free: 3.469 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.01043, allocations: 7.938 kB / 303.9 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.01044, allocations: 4 kB / 303.9 MB, free: 3.457 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.01061, allocations: 117.3 kB / 304 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01061, allocations: 3.984 kB / 304 MB, free: 3.309 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.01064, allocations: 4 kB / 304 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01064, allocations: 4 kB / 304 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.01064, allocations: 0 / 304 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01064, allocations: 0 / 304 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01065, allocations: 0 / 304 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.01078, allocations: 73.02 kB / 304.1 MB, free: 3.211 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.01081, allocations: 8.031 kB / 304.1 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.01083, allocations: 4 kB / 304.1 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-05/0.01089, allocations: 3.984 kB / 304.1 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.0109, allocations: 7.875 kB / 304.1 MB, free: 3.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.01091, allocations: 4 kB / 304.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.957e-05/0.01101, allocations: 126.2 kB / 304.3 MB, free: 3.062 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01101, allocations: 0 / 304.3 MB, free: 3.062 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.01121, allocations: 8 kB / 304.3 MB, free: 3.055 MB / 286.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.000499/0.01171, allocations: 191.7 kB / 304.4 MB, free: 2.859 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.928e-05/0.01179, allocations: 8 kB / 304.5 MB, free: 2.852 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0118, allocations: 0 / 304.5 MB, free: 2.852 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.01181, allocations: 4 kB / 304.5 MB, free: 2.848 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.01197, allocations: 11.98 kB / 304.5 MB, free: 2.836 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.01251, allocations: 300.8 kB / 304.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.01266, allocations: 100.8 kB / 304.9 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.132e-05/0.0127, allocations: 19.72 kB / 304.9 MB, free: 2.375 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.01274, allocations: 16.5 kB / 304.9 MB, free: 2.359 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01274, allocations: 0 / 304.9 MB, free: 2.359 MB / 286.1 MB Notification: Performance of Templates: time 0.004494/0.01723, allocations: 1.264 MB / 306.2 MB, free: 1.098 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.1628584414720535]