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.001672/0.001672, allocations: 120.2 kB / 21.94 MB, free: 8 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.002189/0.002189, allocations: 204.8 kB / 25.24 MB, free: 3.547 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.551/1.551, allocations: 207.6 MB / 236 MB, free: 9.965 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 55.91 kB / 348.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3232, allocations: 49.15 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001815/0.325, allocations: 0.5377 MB / 398.1 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.3274, allocations: 1.939 MB / 400.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.3275, allocations: 0 / 400.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.3305, allocations: 127.2 kB / 400.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.3305, allocations: 31.23 kB / 400.2 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3308, allocations: 46.86 kB / 400.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3309, allocations: 47.39 kB / 400.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.3309, allocations: 7.172 kB / 400.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.746e-05/0.331, allocations: 27.78 kB / 400.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3311, allocations: 32.05 kB / 400.4 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.3311, allocations: 1.188 kB / 400.4 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.885e-05/0.3312, allocations: 21.69 kB / 400.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3313, allocations: 49.91 kB / 400.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.3314, allocations: 18.83 kB / 400.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.3316, allocations: 58.52 kB / 400.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3316, allocations: 2.281 kB / 400.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3316, allocations: 3.938 kB / 400.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3316, allocations: 0 / 400.5 MB, free: 7.551 MB / 318.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.0004051/0.332, allocations: 318.6 kB / 400.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.332, allocations: 13.36 kB / 400.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.3321, allocations: 12.44 kB / 400.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.3323, allocations: 144.4 kB / 401 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3323, allocations: 384 / 401 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.3323, allocations: 9.469 kB / 401 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.3324, allocations: 74.12 kB / 401.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3324, allocations: 1.438 kB / 401.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3324, allocations: 0 / 401.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3324, allocations: 1.188 kB / 401.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.3325, allocations: 6.125 kB / 401.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.3327, allocations: 151.4 kB / 401.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.874e-05/0.3328, allocations: 19.44 kB / 401.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.3328, allocations: 6.016 kB / 401.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.3328, allocations: 1.812 kB / 401.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3328, allocations: 61.27 kB / 401.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.3328, allocations: 1.125 kB / 401.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.000139/0.333, allocations: 52.31 kB / 401.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.333, allocations: 155.3 kB / 401.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.3331, allocations: 149.6 kB / 401.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.3331, allocations: 26.36 kB / 401.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.3332, allocations: 93.72 kB / 401.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.3332, allocations: 5.906 kB / 401.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.3332, allocations: 20.59 kB / 401.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.3333, allocations: 318 kB / 402.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.3333, allocations: 7.922 kB / 402.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.3333, allocations: 38.58 kB / 402.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.3334, allocations: 21 kB / 402.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3334, allocations: 0 / 402.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.886e-05/0.3334, allocations: 56.83 kB / 402.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3334, allocations: 6.453 kB / 402.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.3335, allocations: 8.078 kB / 402.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3335, allocations: 0 / 402.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.822e-05/0.3335, allocations: 4.422 kB / 402.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3335, allocations: 0.7031 kB / 402.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.3336, allocations: 3.562 kB / 402.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.3336, allocations: 3.938 kB / 402.3 MB, free: 5.801 MB / 318.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 6.743e-05/0.3336, allocations: 123.3 kB / 402.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.3337, allocations: 12.59 kB / 402.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.3337, allocations: 19.5 kB / 402.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3337, allocations: 9.25 kB / 402.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3337, allocations: 0.7969 kB / 402.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3337, allocations: 0 / 402.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.3338, allocations: 139.9 kB / 402.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3338, allocations: 0 / 402.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.3339, allocations: 7.125 kB / 402.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3339, allocations: 0 / 402.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.3339, allocations: 1.359 kB / 402.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3339, allocations: 5.312 kB / 402.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3339, allocations: 3.938 kB / 402.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.334, allocations: 76.22 kB / 402.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.334, allocations: 14.38 kB / 402.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.334, allocations: 1.406 kB / 402.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.749e-05/0.3341, allocations: 2.156 kB / 402.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.3341, allocations: 2.078 kB / 402.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.3341, allocations: 0 / 402.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.009e-05/0.3342, allocations: 124.3 kB / 402.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3342, allocations: 4 kB / 402.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.3344, allocations: 11.03 kB / 402.8 MB, free: 5.312 MB / 318.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.0004311/0.3348, allocations: 174.6 kB / 403 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.498e-05/0.3349, allocations: 14.03 kB / 403 MB, free: 5.156 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.3349, allocations: 1.219 kB / 403 MB, free: 5.156 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.3349, allocations: 3.766 kB / 403 MB, free: 5.156 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.3351, allocations: 12.62 kB / 403 MB, free: 5.148 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.3356, allocations: 261.3 kB / 403.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.3357, allocations: 0.6962 MB / 404 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.3357, allocations: 14.67 kB / 404 MB, free: 4.246 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3357, allocations: 0 / 404 MB, free: 4.246 MB / 318.1 MB Notification: Performance of Templates: time 0.004414/0.3401, allocations: 1.719 MB / 405.7 MB, free: 4.008 MB / 318.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/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: 7.926630924921483]