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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 106.5 kB / 20.32 MB, free: 1.891 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 191.1 kB / 23.47 MB, free: 5.363 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 207.6 MB / 234 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] 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.001745/0.001745, allocations: 55.91 kB / 345.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2698, allocations: 49.13 MB / 394.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001638/0.2715, allocations: 0.5242 MB / 395.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.2736, allocations: 1.896 MB / 397.3 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.2737, allocations: 1.125 kB / 397.3 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.2759, allocations: 139.3 kB / 397.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.276, allocations: 30.02 kB / 397.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.2762, allocations: 50.95 kB / 397.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.2763, allocations: 46.58 kB / 397.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.2763, allocations: 3.203 kB / 397.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.176e-05/0.2764, allocations: 27.8 kB / 397.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2765, allocations: 33.27 kB / 397.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.2766, allocations: 1.062 kB / 397.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.2766, allocations: 19.48 kB / 397.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.2767, allocations: 46.25 kB / 397.7 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.2768, allocations: 19.44 kB / 397.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.277, allocations: 58.23 kB / 397.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.277, allocations: 5.719 kB / 397.8 MB, free: 7.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.277, allocations: 0 / 397.8 MB, free: 7.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.277, allocations: 0 / 397.8 MB, free: 7.477 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.0004044/0.2774, allocations: 398.8 kB / 398.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2774, allocations: 10.84 kB / 398.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.2775, allocations: 8.422 kB / 398.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.2777, allocations: 202.6 kB / 398.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.2777, allocations: 4.312 kB / 398.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.2777, allocations: 1.531 kB / 398.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.2778, allocations: 78.39 kB / 398.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2779, allocations: 0 / 398.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.2779, allocations: 0.9062 kB / 398.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2779, allocations: 0 / 398.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.118e-05/0.2779, allocations: 7.5 kB / 398.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.2782, allocations: 172.5 kB / 398.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.2782, allocations: 22.69 kB / 398.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.2782, allocations: 6.453 kB / 398.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.2782, allocations: 2.188 kB / 398.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.2783, allocations: 61.77 kB / 398.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2783, allocations: 0 / 398.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001312/0.2784, allocations: 47.77 kB / 398.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.2784, allocations: 160.3 kB / 399 MB, free: 6.227 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.2786, allocations: 153.7 kB / 399.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.2786, allocations: 25.7 kB / 399.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.2786, allocations: 95.27 kB / 399.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.2786, allocations: 7.891 kB / 399.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2787, allocations: 21.56 kB / 399.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.2787, allocations: 319.4 kB / 399.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.2787, allocations: 2.094 kB / 399.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/0.2788, allocations: 46.02 kB / 399.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.2788, allocations: 14.5 kB / 399.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2788, allocations: 0 / 399.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.574e-05/0.2788, allocations: 55.66 kB / 399.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2789, allocations: 6.281 kB / 399.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2789, allocations: 0 / 399.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2789, allocations: 4.891 kB / 399.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.781e-05/0.2789, allocations: 2.812 kB / 399.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2789, allocations: 1.172 kB / 399.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.514e-05/0.279, allocations: 2.906 kB / 399.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.279, allocations: 0 / 399.7 MB, free: 5.543 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.47e-05/0.279, allocations: 133.3 kB / 399.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.2791, allocations: 15.27 kB / 399.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.2791, allocations: 16.44 kB / 399.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2791, allocations: 1.219 kB / 399.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2791, allocations: 4 kB / 399.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.2791, allocations: 0 / 399.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.2792, allocations: 168.8 kB / 400 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2792, allocations: 0 / 400 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.2792, allocations: 7.312 kB / 400 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2793, allocations: 0 / 400 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2793, allocations: 5.125 kB / 400 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2793, allocations: 7.938 kB / 400.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2793, allocations: 0 / 400.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.582e-05/0.2794, allocations: 72.81 kB / 400.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.2794, allocations: 91.44 kB / 400.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2794, allocations: 1.188 kB / 400.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.525e-05/0.2795, allocations: 3.094 kB / 400.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.2795, allocations: 5.156 kB / 400.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.2795, allocations: 2.047 kB / 400.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.671e-05/0.2796, allocations: 118.5 kB / 400.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2796, allocations: 0 / 400.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002003/0.2798, allocations: 16.67 kB / 400.4 MB, free: 4.926 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.0004009/0.2802, allocations: 173.9 kB / 400.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.518e-05/0.2802, allocations: 13.88 kB / 400.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2802, allocations: 1.562 kB / 400.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.038e-05/0.2802, allocations: 3.922 kB / 400.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.2804, allocations: 13.34 kB / 400.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.2808, allocations: 260.7 kB / 400.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2809, allocations: 0.689 MB / 401.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.281, allocations: 19.17 kB / 401.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.281, allocations: 1.281 kB / 401.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of Templates: time 0.003831/0.2848, allocations: 1.703 MB / 403.2 MB, free: 3.641 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