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.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.001724/0.001724, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 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.001394/0.001394, allocations: 187.5 kB / 22.93 MB, free: 5.582 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.584/1.584, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 54.09 kB / 345.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3001, allocations: 49.12 MB / 394.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002027/0.3022, allocations: 0.5339 MB / 395 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.3053, allocations: 1.909 MB / 396.9 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.3054, allocations: 0 / 396.9 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003098/0.3085, allocations: 139.3 kB / 397.1 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.3086, allocations: 30.56 kB / 397.1 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.3089, allocations: 51.53 kB / 397.2 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.3091, allocations: 42.3 kB / 397.2 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.3091, allocations: 7.078 kB / 397.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3093, allocations: 31.83 kB / 397.2 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.3094, allocations: 28.88 kB / 397.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3094, allocations: 1.156 kB / 397.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.3095, allocations: 23.69 kB / 397.3 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.3097, allocations: 51.06 kB / 397.3 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.3097, allocations: 14.84 kB / 397.3 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.31, allocations: 58.5 kB / 397.4 MB, free: 7.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.31, allocations: 0 / 397.4 MB, free: 7.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.31, allocations: 0 / 397.4 MB, free: 7.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.31, allocations: 0.7812 kB / 397.4 MB, free: 7.488 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.0005016/0.3105, allocations: 399.5 kB / 397.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3106, allocations: 9.125 kB / 397.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.3106, allocations: 10.2 kB / 397.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.3109, allocations: 205.5 kB / 398 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.3109, allocations: 1.375 kB / 398 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.3109, allocations: 1.594 kB / 398 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.3111, allocations: 77.53 kB / 398.1 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3112, allocations: 0 / 398.1 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3112, allocations: 1.312 kB / 398.1 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3112, allocations: 5.406 kB / 398.1 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.3112, allocations: 2.719 kB / 398.1 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.3117, allocations: 171.5 kB / 398.3 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.281e-05/0.3117, allocations: 18.19 kB / 398.3 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.3117, allocations: 11.33 kB / 398.3 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.3117, allocations: 2.719 kB / 398.3 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.3118, allocations: 69.45 kB / 398.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.3118, allocations: 0 / 398.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002057/0.312, allocations: 43.59 kB / 398.4 MB, free: 6.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.3121, allocations: 156.8 kB / 398.6 MB, free: 6.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.3123, allocations: 148.8 kB / 398.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3123, allocations: 27.3 kB / 398.7 MB, free: 6.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.3123, allocations: 93.31 kB / 398.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3124, allocations: 13.39 kB / 398.8 MB, free: 5.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.3124, allocations: 20.34 kB / 398.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.3125, allocations: 318.2 kB / 399.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.3125, allocations: 3.891 kB / 399.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.3126, allocations: 45.97 kB / 399.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.3126, allocations: 13.92 kB / 399.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3126, allocations: 64 / 399.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.758e-05/0.3127, allocations: 56.23 kB / 399.3 MB, free: 5.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3127, allocations: 6 kB / 399.3 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3127, allocations: 3.938 kB / 399.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.3128, allocations: 0 / 399.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.056e-05/0.3128, allocations: 4.234 kB / 399.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3128, allocations: 0 / 399.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.3129, allocations: 2.969 kB / 399.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3129, allocations: 5.125 kB / 399.3 MB, free: 5.551 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 0.0001149/0.313, allocations: 140.3 kB / 399.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.3131, allocations: 11.3 kB / 399.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.3131, allocations: 13.47 kB / 399.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3131, allocations: 0 / 399.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3131, allocations: 0 / 399.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3131, allocations: 1.219 kB / 399.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.3133, allocations: 171.2 kB / 399.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3133, allocations: 1.156 kB / 399.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.39e-05/0.3134, allocations: 5.984 kB / 399.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3134, allocations: 1.062 kB / 399.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.3134, allocations: 0 / 399.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3134, allocations: 6.031 kB / 399.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3134, allocations: 0 / 399.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.3135, allocations: 76.06 kB / 399.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.912e-05/0.3136, allocations: 87.44 kB / 399.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.3137, allocations: 1.219 kB / 399.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.3137, allocations: 3.25 kB / 399.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.3138, allocations: 1.125 kB / 399.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.3138, allocations: 9.75 kB / 399.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3139, allocations: 124.5 kB / 400 MB, free: 4.938 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3139, allocations: 0 / 400 MB, free: 4.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000358/0.3143, allocations: 9.875 kB / 400 MB, free: 4.938 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.0006205/0.3149, allocations: 180.2 kB / 400.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.315, allocations: 9.219 kB / 400.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.315, allocations: 0 / 400.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.672e-05/0.3151, allocations: 4.781 kB / 400.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.3153, allocations: 12.59 kB / 400.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.316, allocations: 317.2 kB / 400.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.3162, allocations: 0.7094 MB / 401.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.514e-05/0.3162, allocations: 8.781 kB / 401.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.3162, allocations: 14.05 kB / 401.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3162, allocations: 5.375 kB / 401.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of Templates: time 0.006031/0.3223, allocations: 1.211 MB / 402.4 MB, free: 3.699 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/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: 4.766094968654215]