Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002355/0.002355, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00263/0.00263, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 272.2 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.208e-05, allocations: 2.312 kB / 272.2 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001535/0.001557, allocations: 0.5329 MB / 272.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.004339, allocations: 1.95 MB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.004375, allocations: 0 / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004885/0.009259, allocations: 253.8 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.517e-05/0.009324, allocations: 23.92 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.009511, allocations: 43.88 kB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.009625, allocations: 43.89 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.009659, allocations: 7.922 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.009773, allocations: 47.78 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.009853, allocations: 15.97 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.009878, allocations: 4 kB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.272e-05/0.009931, allocations: 15.98 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.519e-05/0.01003, allocations: 39.91 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.01007, allocations: 15.92 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.01027, allocations: 47.83 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01027, allocations: 0 / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01027, allocations: 0 / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.01028, allocations: 0 / 275.2 MB, free: 14.89 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.0005412/0.01082, allocations: 417.7 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.01085, allocations: 19.92 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.01091, allocations: 8.891 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.01112, allocations: 140.5 kB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.01113, allocations: 4.375 kB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.01115, allocations: 8.312 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.01138, allocations: 183.5 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.01139, allocations: 4.188 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.0114, allocations: 384 / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.0114, allocations: 3.938 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.01142, allocations: 4 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.01175, allocations: 136.6 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.269e-05/0.01181, allocations: 23.06 kB / 276.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.01183, allocations: 11.69 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.01184, allocations: 4.062 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.431e-05/0.01192, allocations: 67.08 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.01192, allocations: 0 / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001494/0.01207, allocations: 41.59 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.01219, allocations: 162.2 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.01237, allocations: 200.8 kB / 276.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.0124, allocations: 29.7 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.0125, allocations: 142.9 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.01251, allocations: 0 / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.01256, allocations: 27.48 kB / 276.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003174/0.01288, allocations: 0.4884 MB / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.0129, allocations: 8 kB / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.01303, allocations: 149.2 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.01307, allocations: 19.69 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01307, allocations: 0 / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.444e-05/0.01315, allocations: 53.53 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01317, allocations: 7.984 kB / 277.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.01318, allocations: 0 / 277.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01319, allocations: 96 / 277.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.135e-05/0.01322, allocations: 8 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.01323, allocations: 3.938 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.01329, allocations: 0 / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.0133, allocations: 4 kB / 277.5 MB, free: 12.22 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 0.0001306/0.01343, allocations: 156.6 kB / 277.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.01345, allocations: 7.953 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.01347, allocations: 11.8 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.01348, allocations: 0 / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01348, allocations: 3.938 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.01348, allocations: 4 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.01367, allocations: 128.6 kB / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01367, allocations: 0 / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.0137, allocations: 4 kB / 277.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.01371, allocations: 3.984 kB / 277.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.01371, allocations: 4 kB / 277.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01372, allocations: 3.938 kB / 277.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01372, allocations: 0 / 277.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.01386, allocations: 80.34 kB / 277.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.0139, allocations: 11.94 kB / 277.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.01392, allocations: 4.062 kB / 277.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.01398, allocations: 12 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.014, allocations: 48 / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.01401, allocations: 7.922 kB / 278 MB, free: 11.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.01412, allocations: 147.2 kB / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01412, allocations: 0 / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.01433, allocations: 11.94 kB / 278.1 MB, free: 11.57 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.0005163/0.01485, allocations: 128.4 kB / 278.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.951e-05/0.01495, allocations: 23.61 kB / 278.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01495, allocations: 0 / 278.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.761e-05/0.01497, allocations: 11.69 kB / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.01512, allocations: 17.95 kB / 278.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.01554, allocations: 234 kB / 278.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.01564, allocations: 100.7 kB / 278.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.61e-05/0.01568, allocations: 4 kB / 278.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.01572, allocations: 20.48 kB / 278.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01572, allocations: 0 / 278.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of Templates: time 0.004636/0.02036, allocations: 1.086 MB / 279.7 MB, free: 9.934 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.502985871979035]