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.001721/0.001721, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001994/0.001994, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.521/1.521, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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 1.794e-06/1.794e-06, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.474e-05, allocations: 2.312 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001516/0.00154, allocations: 0.5389 MB / 272.8 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.004321, allocations: 1.931 MB / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.004362, allocations: 0 / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.006667, allocations: 239.5 kB / 275 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.006736, allocations: 19.97 kB / 275 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.006919, allocations: 47.86 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.433e-05/0.007013, allocations: 43.84 kB / 275.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.007049, allocations: 15.92 kB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.007162, allocations: 39.84 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.792e-05/0.00724, allocations: 15.97 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.00726, allocations: 0 / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.404e-05/0.007314, allocations: 15.98 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.007401, allocations: 39.86 kB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.007449, allocations: 15.92 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.007658, allocations: 55.8 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.00766, allocations: 0 / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007661, allocations: 0 / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.007665, allocations: 4 kB / 275.3 MB, free: 14.93 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.0004694/0.008135, allocations: 315.8 kB / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.008173, allocations: 12.03 kB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.008223, allocations: 12.83 kB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.008419, allocations: 129.7 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.008432, allocations: 4.375 kB / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.008458, allocations: 384 / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.008688, allocations: 181.3 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.008697, allocations: 192 / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.008711, allocations: 4.375 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.008717, allocations: 7.938 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.008733, allocations: 0 / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.009034, allocations: 121.3 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.956e-05/0.009093, allocations: 30.48 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.009114, allocations: 8.922 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.009124, allocations: 0 / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.593e-05/0.00918, allocations: 56.27 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.009181, allocations: 0 / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.009338, allocations: 49.64 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.009462, allocations: 162.3 kB / 276.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.009642, allocations: 160.7 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.009669, allocations: 25.7 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.009739, allocations: 92.14 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.009758, allocations: 7.984 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.009805, allocations: 21.7 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.009981, allocations: 314.8 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.009996, allocations: 4 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.01013, allocations: 147.1 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.01017, allocations: 12.86 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.01017, allocations: 12.05 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.715e-05/0.01026, allocations: 49.59 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01027, allocations: 7.938 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.01027, allocations: 0 / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.01029, allocations: 0 / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.522e-05/0.01031, allocations: 4 kB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.01032, allocations: 3.938 kB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.01039, allocations: 7.984 kB / 277.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.0104, allocations: 0 / 277.2 MB, free: 12.71 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.0001248/0.01052, allocations: 125.8 kB / 277.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.01054, allocations: 11.98 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.01056, allocations: 11.8 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.01057, allocations: 0 / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.01057, allocations: 3.938 kB / 277.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.01057, allocations: 0 / 277.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.01076, allocations: 125.3 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01076, allocations: 0 / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.01078, allocations: 0 / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.01079, allocations: 0 / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.01079, allocations: 4 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01079, allocations: 0 / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01079, allocations: 4 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.01093, allocations: 80.95 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.01097, allocations: 7.984 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.01099, allocations: 3.984 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.01104, allocations: 4 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.01105, allocations: 0 / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.01106, allocations: 3.938 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.01117, allocations: 119.2 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01117, allocations: 0 / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.0114, allocations: 15.94 kB / 277.7 MB, free: 12.14 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.0004052/0.01181, allocations: 151.9 kB / 277.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.681e-05/0.01188, allocations: 12 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01189, allocations: 4 kB / 277.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-05/0.0119, allocations: 8 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.01206, allocations: 19.92 kB / 277.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.01249, allocations: 244.2 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.0126, allocations: 96.73 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.923e-05/0.01263, allocations: 11.98 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.01268, allocations: 16.5 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01268, allocations: 0 / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of Templates: time 0.004204/0.01688, allocations: 1.094 MB / 279.4 MB, free: 10.5 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=480 -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/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_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: 4.3327522900654]