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.001445/0.001445, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00116/0.00116, allocations: 161 kB / 24.56 MB, free: 16 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 0.9986/0.9986, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.894e-06/1.894e-06, allocations: 0 / 272.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.134e-05, allocations: 2.312 kB / 272.9 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.004445/0.004477, allocations: 0.5301 MB / 273.5 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.006728, allocations: 1.981 MB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.006771, allocations: 0 / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008796/0.01557, allocations: 255.5 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.928e-05/0.01563, allocations: 23.91 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.01582, allocations: 43.88 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.01592, allocations: 47.83 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.01596, allocations: 8 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.01746, allocations: 397.5 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.01754, allocations: 15.97 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.01756, allocations: 0 / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.143e-05/0.01759, allocations: 0 / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.01765, allocations: 31.86 kB / 276.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.01768, allocations: 7.938 kB / 276.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.01792, allocations: 51.72 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01792, allocations: 0 / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01793, allocations: 4 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.01793, allocations: 0 / 276.3 MB, free: 14.45 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.0004282/0.01836, allocations: 465.6 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.0184, allocations: 12.03 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.01845, allocations: 8.891 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.01865, allocations: 167.9 kB / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.01866, allocations: 384 / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.01868, allocations: 384 / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.0188, allocations: 83.27 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.01881, allocations: 192 / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.01882, allocations: 8.375 kB / 277.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.01882, allocations: 7.875 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.091e-05/0.01884, allocations: 0 / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.02217, allocations: 164.6 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.101e-05/0.02222, allocations: 27.06 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.02223, allocations: 11.62 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.02224, allocations: 4.062 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.02228, allocations: 59.09 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.02228, allocations: 0 / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001332/0.02241, allocations: 49.61 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.02246, allocations: 85.03 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.02262, allocations: 251.8 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.02263, allocations: 25.7 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.0227, allocations: 166.9 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.02272, allocations: 0 / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.02276, allocations: 27.36 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.02289, allocations: 0.5001 MB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.02291, allocations: 3.938 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.02294, allocations: 45.2 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.02297, allocations: 19.78 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.02297, allocations: 0 / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.566e-05/0.02303, allocations: 49.59 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.02305, allocations: 8 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.02305, allocations: 0 / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.02306, allocations: 0 / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.68e-05/0.0231, allocations: 7.938 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.02311, allocations: 3.938 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.02313, allocations: 0 / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.02313, allocations: 4.031 kB / 278.5 MB, free: 11.97 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 7.447e-05/0.02321, allocations: 164.6 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.02322, allocations: 11.91 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.02325, allocations: 12.48 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.02325, allocations: 0 / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.02326, allocations: 11.92 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.02326, allocations: 4 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.02343, allocations: 164.6 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.02343, allocations: 0 / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.02345, allocations: 7.938 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.02345, allocations: 4 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.02346, allocations: 0 / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.02346, allocations: 0 / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02346, allocations: 0 / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.02357, allocations: 96.22 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.0236, allocations: 7.953 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.02361, allocations: 0 / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.02363, allocations: 4 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.02364, allocations: 0 / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.02364, allocations: 3.938 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.826e-05/0.02373, allocations: 180.5 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02373, allocations: 0 / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.02392, allocations: 8 kB / 279.2 MB, free: 11.23 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.0002313/0.02415, allocations: 117.7 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.194e-05/0.02423, allocations: 15.67 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.02423, allocations: 0 / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.899e-06/0.02424, allocations: 15.75 kB / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.02439, allocations: 11.94 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.0247, allocations: 214.4 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.162e-05/0.02474, allocations: 71.27 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.631e-05/0.02478, allocations: 12.97 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.02481, allocations: 20.56 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02481, allocations: 0 / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of Templates: time 0.005893/0.0307, allocations: 0.5791 MB / 280.3 MB, free: 10.15 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6885341349989176]