Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007882/0.0007882, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000883/0.000883, allocations: 148.8 kB / 24.9 MB, free: 8.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9883/0.9883, allocations: 173.4 MB / 201.5 MB, free: 8.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.799e-05, allocations: 6.25 kB / 268.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001669/0.001687, allocations: 0.5792 MB / 269.1 MB, free: 5.441 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.003946, allocations: 1.951 MB / 271 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.003979, allocations: 0 / 271 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.006088, allocations: 209.3 kB / 271.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.006151, allocations: 31.95 kB / 271.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.006299, allocations: 39.88 kB / 271.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.373e-05/0.006392, allocations: 55.83 kB / 271.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.787e-05/0.00642, allocations: 3.984 kB / 271.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009235/0.007344, allocations: 307.9 kB / 271.6 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.007414, allocations: 23.91 kB / 271.7 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.007431, allocations: 0 / 271.7 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.959e-05/0.007471, allocations: 15.98 kB / 271.7 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.007527, allocations: 31.92 kB / 271.7 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.007549, allocations: 7.938 kB / 271.7 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.007715, allocations: 71.72 kB / 271.8 MB, free: 2.887 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.007717, allocations: 0 / 271.8 MB, free: 2.887 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007718, allocations: 0 / 271.8 MB, free: 2.887 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.007721, allocations: 3.938 kB / 271.8 MB, free: 2.883 MB / 250.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.0002419/0.007963, allocations: 326 kB / 272.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.598e-05/0.007989, allocations: 8.922 kB / 272.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.008014, allocations: 8.922 kB / 272.1 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.00814, allocations: 154.4 kB / 272.3 MB, free: 2.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.008146, allocations: 4.312 kB / 272.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.008158, allocations: 384 / 272.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.00836, allocations: 84.42 kB / 272.4 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-06/0.008365, allocations: 192 / 272.4 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.008371, allocations: 384 / 272.4 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.008376, allocations: 3.938 kB / 272.4 MB, free: 2.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-06/0.008386, allocations: 14.81 kB / 272.4 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.008537, allocations: 70.7 kB / 272.5 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.41e-05/0.008561, allocations: 22.55 kB / 272.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-06/0.008571, allocations: 8.859 kB / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-06/0.008575, allocations: 0 / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.008615, allocations: 60.33 kB / 272.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.008616, allocations: 0 / 272.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 7.203e-05/0.008688, allocations: 37.69 kB / 272.6 MB, free: 1.969 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.008715, allocations: 77.11 kB / 272.7 MB, free: 1.875 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.008795, allocations: 167.6 kB / 272.8 MB, free: 1.699 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.008804, allocations: 33.7 kB / 272.9 MB, free: 1.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.008831, allocations: 92.11 kB / 272.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.008845, allocations: 3.953 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.008893, allocations: 17.66 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.008961, allocations: 330.7 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-06/0.008967, allocations: 2.828 kB / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.00899, allocations: 43.41 kB / 273.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.708e-05/0.009007, allocations: 11.69 kB / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.009008, allocations: 0 / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.192e-05/0.00905, allocations: 52.61 kB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.009058, allocations: 4 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.009062, allocations: 0 / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.00907, allocations: 0 / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.035e-05/0.009091, allocations: 7.938 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.009093, allocations: 0 / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.00911, allocations: 3.938 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.009114, allocations: 4 kB / 273.4 MB, free: 1.055 MB / 250.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 4.639e-05/0.00916, allocations: 108.7 kB / 273.5 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.009168, allocations: 7.984 kB / 273.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.009187, allocations: 16.53 kB / 273.6 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.009188, allocations: 3.938 kB / 273.6 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.00919, allocations: 0 / 273.6 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.009197, allocations: 4 kB / 273.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.714e-05/0.009284, allocations: 89.78 kB / 273.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.009285, allocations: 4 kB / 273.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.009297, allocations: 0 / 273.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-07/0.009297, allocations: 0 / 273.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.009303, allocations: 0 / 273.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.009303, allocations: 0 / 273.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.009304, allocations: 4 kB / 273.7 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.766e-05/0.009371, allocations: 78.66 kB / 273.7 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.009394, allocations: 15.89 kB / 273.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.009403, allocations: 0 / 273.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.142e-05/0.009415, allocations: 0 / 273.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-06/0.009422, allocations: 0 / 273.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-06/0.009423, allocations: 0 / 273.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.009457, allocations: 50.72 kB / 273.8 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009457, allocations: 0 / 273.8 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000101/0.009558, allocations: 12 kB / 273.8 MB, free: 0.6172 MB / 250.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.0005583/0.01012, allocations: 186.6 kB / 274 MB, free: 484 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.371e-05/0.01017, allocations: 12.86 kB / 274 MB, free: 468 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01017, allocations: 4 kB / 274 MB, free: 464 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.01018, allocations: 8.797 kB / 274 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.47e-05/0.01025, allocations: 14.91 kB / 274 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.01047, allocations: 219.4 kB / 274.2 MB, free: 192 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.093e-05/0.0105, allocations: 67.33 kB / 274.3 MB, free: 104 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.46e-05/0.01053, allocations: 12.62 kB / 274.3 MB, free: 92 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.654e-05/0.01059, allocations: 71.34 kB / 274.4 MB, free: 20 kB / 250.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01059, allocations: 0 / 274.4 MB, free: 20 kB / 250.7 MB Notification: Performance of Templates: time 0.002495/0.01309, allocations: 1.012 MB / 275.4 MB, free: 15.02 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5856733210384846]