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.001022/0.001022, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.00102/0.00102, allocations: 161 kB / 24.56 MB, free: 12 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 0.9445/0.9445, allocations: 177.1 MB / 205 MB, free: 5.625 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.964e-06/1.964e-06, allocations: 0 / 272.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.182e-05, allocations: 2.312 kB / 272.9 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001096/0.001117, allocations: 0.5378 MB / 273.5 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.002799, allocations: 1.981 MB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.00284, allocations: 0 / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.00489, allocations: 238.4 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.004943, allocations: 27.91 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.005158, allocations: 55.86 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.00526, allocations: 39.84 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.005298, allocations: 4 kB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.005393, allocations: 39.83 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.00547, allocations: 23.92 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.005492, allocations: 0 / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.074e-05/0.005543, allocations: 7.984 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.005625, allocations: 51.91 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.00566, allocations: 11.92 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.005861, allocations: 47.88 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005863, allocations: 0 / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005864, allocations: 0 / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.005868, allocations: 3.938 kB / 276 MB, free: 14.6 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.000361/0.006229, allocations: 426 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.006264, allocations: 8.031 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.006302, allocations: 8.891 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.006441, allocations: 144.4 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.006452, allocations: 8.312 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.006476, allocations: 4.375 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.006607, allocations: 179.5 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.006613, allocations: 192 / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.006623, allocations: 384 / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.006631, allocations: 7.938 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.213e-05/0.006643, allocations: 7.922 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.006885, allocations: 136.7 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.598e-05/0.006921, allocations: 23.06 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.006936, allocations: 11.75 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.006943, allocations: 4 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.006979, allocations: 63.09 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 6.42e-07/0.00698, allocations: 0 / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001229/0.007103, allocations: 49.58 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.007163, allocations: 162.2 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.007268, allocations: 197.2 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.007282, allocations: 29.69 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.007342, allocations: 138.9 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.007366, allocations: 3.953 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.007398, allocations: 23.38 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.007535, allocations: 0.4963 MB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.007547, allocations: 0 / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.007616, allocations: 157.2 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.007645, allocations: 11.69 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.007648, allocations: 0 / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.006e-05/0.007708, allocations: 41.64 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.007722, allocations: 4 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.007727, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.007747, allocations: 4 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.394e-05/0.007781, allocations: 8.078 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.007789, allocations: 3.938 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.007836, allocations: 11.95 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.007842, allocations: 0 / 278.3 MB, free: 11.93 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 7.56e-05/0.007917, allocations: 160.5 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.007927, allocations: 4 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.007958, allocations: 11.81 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.007962, allocations: 3.984 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.007967, allocations: 3.938 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.00797, allocations: 0 / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.008105, allocations: 132.6 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.008107, allocations: 0 / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.008123, allocations: 0 / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008125, allocations: 3.938 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.00814, allocations: 0 / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.00814, allocations: 4 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008141, allocations: 3.984 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.524e-05/0.008237, allocations: 80.34 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.00826, allocations: 11.94 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.008271, allocations: 0 / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.298e-05/0.008294, allocations: 8.062 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.008306, allocations: 0 / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.008308, allocations: 7.938 kB / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.008365, allocations: 151.2 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008365, allocations: 0 / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000128/0.008493, allocations: 11.94 kB / 278.9 MB, free: 11.28 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.0002521/0.008745, allocations: 149.3 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.815e-05/0.008823, allocations: 23.61 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008825, allocations: 0 / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.235e-06/0.008833, allocations: 11.69 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.008943, allocations: 8 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.009237, allocations: 229.9 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.009273, allocations: 75.27 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.821e-05/0.009301, allocations: 12.11 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.009327, allocations: 16.5 kB / 279.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.009328, allocations: 0 / 279.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of Templates: time 0.002882/0.01221, allocations: 1.095 MB / 280.5 MB, free: 9.664 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","",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.7671058662235737]