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.001367/0.001367, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001596/0.001596, allocations: 167 kB / 25.33 MB, free: 8.598 MB / 18.57 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 0.9726/0.9726, allocations: 158.6 MB / 187.2 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 251 MB, free: 7.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.384e-05, allocations: 2.312 kB / 251 MB, free: 7.551 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001228/0.001251, allocations: 0.5421 MB / 251.5 MB, free: 7.008 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.003016, allocations: 1.963 MB / 253.5 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.003058, allocations: 0 / 253.5 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.004986, allocations: 214.5 kB / 253.7 MB, free: 4.855 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.005042, allocations: 27.97 kB / 253.7 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.005201, allocations: 39.88 kB / 253.8 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.64e-05/0.005287, allocations: 51.83 kB / 253.8 MB, free: 4.738 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.00532, allocations: 7.938 kB / 253.8 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.473e-05/0.005405, allocations: 35.89 kB / 253.9 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.00549, allocations: 27.92 kB / 253.9 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.005509, allocations: 3.938 kB / 253.9 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-05/0.005563, allocations: 15.98 kB / 253.9 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.00564, allocations: 47.89 kB / 254 MB, free: 4.602 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.005675, allocations: 11.94 kB / 254 MB, free: 4.59 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.005898, allocations: 55.81 kB / 254 MB, free: 4.535 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.005901, allocations: 0 / 254 MB, free: 4.535 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005902, allocations: 0 / 254 MB, free: 4.535 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005907, allocations: 0 / 254 MB, free: 4.535 MB / 234.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.0003528/0.00626, allocations: 426 kB / 254.5 MB, free: 4.078 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.006296, allocations: 15.98 kB / 254.5 MB, free: 4.062 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.006341, allocations: 8.891 kB / 254.5 MB, free: 4.055 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.006487, allocations: 144.4 kB / 254.6 MB, free: 3.887 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.006494, allocations: 384 / 254.6 MB, free: 3.887 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.006519, allocations: 12.27 kB / 254.6 MB, free: 3.875 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.006647, allocations: 179.5 kB / 254.8 MB, free: 3.648 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.006652, allocations: 4.188 kB / 254.8 MB, free: 3.645 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.006663, allocations: 384 / 254.8 MB, free: 3.645 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.006671, allocations: 3.938 kB / 254.8 MB, free: 3.641 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-06/0.00668, allocations: 0 / 254.8 MB, free: 3.641 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.006938, allocations: 140.6 kB / 255 MB, free: 3.469 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.631e-05/0.006974, allocations: 27.12 kB / 255 MB, free: 3.43 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.006989, allocations: 11.69 kB / 255 MB, free: 3.414 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.006995, allocations: 0 / 255 MB, free: 3.414 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.00703, allocations: 59.09 kB / 255.1 MB, free: 3.34 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.007031, allocations: 0 / 255.1 MB, free: 3.34 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.007143, allocations: 41.64 kB / 255.1 MB, free: 3.293 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.007197, allocations: 166.1 kB / 255.3 MB, free: 3.094 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.007299, allocations: 193.8 kB / 255.4 MB, free: 2.887 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.00731, allocations: 25.7 kB / 255.5 MB, free: 2.855 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.007357, allocations: 147 kB / 255.6 MB, free: 2.707 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.007377, allocations: 7.938 kB / 255.6 MB, free: 2.699 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.007406, allocations: 23.38 kB / 255.6 MB, free: 2.668 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.007516, allocations: 0.4884 MB / 256.1 MB, free: 2.168 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.007527, allocations: 4 kB / 256.1 MB, free: 2.164 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.007588, allocations: 149.2 kB / 256.3 MB, free: 1.973 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.007616, allocations: 11.69 kB / 256.3 MB, free: 1.957 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007617, allocations: 0 / 256.3 MB, free: 1.957 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.756e-05/0.007675, allocations: 53.58 kB / 256.3 MB, free: 1.898 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.007687, allocations: 8.094 kB / 256.4 MB, free: 1.891 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.007692, allocations: 4 kB / 256.4 MB, free: 1.887 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.007706, allocations: 0 / 256.4 MB, free: 1.887 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.91e-05/0.007735, allocations: 0 / 256.4 MB, free: 1.887 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.007742, allocations: 3.938 kB / 256.4 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.007787, allocations: 4 kB / 256.4 MB, free: 1.879 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.007792, allocations: 0 / 256.4 MB, free: 1.879 MB / 234.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 6.666e-05/0.007858, allocations: 164.5 kB / 256.5 MB, free: 1.707 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.007869, allocations: 7.953 kB / 256.5 MB, free: 1.699 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.007896, allocations: 11.81 kB / 256.5 MB, free: 1.688 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.007897, allocations: 4 kB / 256.5 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.007901, allocations: 3.938 kB / 256.6 MB, free: 1.68 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007904, allocations: 4 kB / 256.6 MB, free: 1.676 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.008017, allocations: 132.6 kB / 256.7 MB, free: 1.508 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.008018, allocations: 0 / 256.7 MB, free: 1.508 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.008033, allocations: 4 kB / 256.7 MB, free: 1.504 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.008034, allocations: 0 / 256.7 MB, free: 1.504 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.008044, allocations: 0 / 256.7 MB, free: 1.504 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.008048, allocations: 11.92 kB / 256.7 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008049, allocations: 0 / 256.7 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.921e-05/0.008148, allocations: 84.33 kB / 256.8 MB, free: 1.387 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.008172, allocations: 8.031 kB / 256.8 MB, free: 1.379 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.008184, allocations: 0 / 256.8 MB, free: 1.379 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.946e-05/0.008213, allocations: 8 kB / 256.8 MB, free: 1.371 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.008226, allocations: 3.984 kB / 256.8 MB, free: 1.367 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.008228, allocations: 3.938 kB / 256.8 MB, free: 1.363 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.205e-05/0.00828, allocations: 145.7 kB / 256.9 MB, free: 1.223 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00828, allocations: 0 / 256.9 MB, free: 1.223 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.008417, allocations: 12 kB / 257 MB, free: 1.211 MB / 234.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.0003035/0.008721, allocations: 170.1 kB / 257.1 MB, free: 1.047 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.701e-05/0.008798, allocations: 19.62 kB / 257.1 MB, free: 1.023 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0088, allocations: 0 / 257.1 MB, free: 1.023 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.594e-06/0.008808, allocations: 11.75 kB / 257.2 MB, free: 1.008 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.008928, allocations: 19.94 kB / 257.2 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.009335, allocations: 288.9 kB / 257.5 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.707e-05/0.009373, allocations: 75.27 kB / 257.5 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.009406, allocations: 7.984 kB / 257.5 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.009433, allocations: 12.5 kB / 257.6 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of SimCode: time 8.22e-07/0.009434, allocations: 0 / 257.6 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of Templates: time 0.003174/0.01261, allocations: 1.291 MB / 258.8 MB, free: 15.28 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] 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","",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.910392466932535]