Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.0009738/0.0009738, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.0009745/0.0009745, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9395/0.9395, allocations: 173.3 MB / 201.4 MB, free: 9.242 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 268.4 MB, free: 6.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.529e-05, allocations: 6.312 kB / 268.4 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001035/0.00105, allocations: 0.5335 MB / 268.9 MB, free: 5.719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.003039, allocations: 1.943 MB / 270.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.003083, allocations: 0 / 270.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.005, allocations: 206.2 kB / 271.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.005054, allocations: 19.98 kB / 271.1 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.005218, allocations: 47.86 kB / 271.1 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.925e-05/0.005297, allocations: 51.83 kB / 271.2 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.792e-05/0.005325, allocations: 4 kB / 271.2 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.006384, allocations: 303.9 kB / 271.5 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.006486, allocations: 27.84 kB / 271.5 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.006508, allocations: 0 / 271.5 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.385e-05/0.006571, allocations: 15.98 kB / 271.5 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.006651, allocations: 27.92 kB / 271.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.006683, allocations: 11.94 kB / 271.6 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.006934, allocations: 67.73 kB / 271.6 MB, free: 3.188 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006937, allocations: 0 / 271.6 MB, free: 3.188 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.006938, allocations: 3.938 kB / 271.6 MB, free: 3.184 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.006942, allocations: 0 / 271.6 MB, free: 3.184 MB / 250.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.0003181/0.00726, allocations: 457.7 kB / 272.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.007293, allocations: 8.922 kB / 272.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.007323, allocations: 12.84 kB / 272.1 MB, free: 2.676 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.007464, allocations: 173.1 kB / 272.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.00747, allocations: 384 / 272.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.007485, allocations: 384 / 272.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.611e-05/0.007561, allocations: 79.28 kB / 272.3 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-06/0.007565, allocations: 192 / 272.3 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.007572, allocations: 384 / 272.3 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.007577, allocations: 3.938 kB / 272.3 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-06/0.007585, allocations: 11.98 kB / 272.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.00779, allocations: 125.2 kB / 272.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.034e-05/0.007821, allocations: 23.06 kB / 272.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.007834, allocations: 11.69 kB / 272.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.00784, allocations: 4 kB / 272.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.00787, allocations: 59.09 kB / 272.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.007871, allocations: 0 / 272.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 8.815e-05/0.007959, allocations: 45.64 kB / 272.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.007988, allocations: 77.23 kB / 272.7 MB, free: 1.941 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.008093, allocations: 246.6 kB / 272.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.008103, allocations: 25.7 kB / 273 MB, free: 1.652 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.008155, allocations: 158.8 kB / 273.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.008172, allocations: 3.953 kB / 273.1 MB, free: 1.488 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.008198, allocations: 19.38 kB / 273.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.008311, allocations: 0.5001 MB / 273.6 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.008321, allocations: 7.938 kB / 273.6 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.008353, allocations: 45.08 kB / 273.7 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.008374, allocations: 15.67 kB / 273.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008376, allocations: 8.094 kB / 273.7 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.743e-05/0.008424, allocations: 37.66 kB / 273.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.008435, allocations: 8 kB / 273.8 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.008439, allocations: 0 / 273.8 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.008447, allocations: 0 / 273.8 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.687e-05/0.008473, allocations: 7.938 kB / 273.8 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.008476, allocations: 0 / 273.8 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.008497, allocations: 7.891 kB / 273.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.008501, allocations: 0 / 273.8 MB, free: 0.7891 MB / 250.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.606e-05/0.008567, allocations: 156.6 kB / 273.9 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.008577, allocations: 15.97 kB / 273.9 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.008605, allocations: 16.44 kB / 274 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.008606, allocations: 0 / 274 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.008609, allocations: 4 kB / 274 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.008612, allocations: 3.938 kB / 274 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.008737, allocations: 129.2 kB / 274.1 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.008739, allocations: 0 / 274.1 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.008752, allocations: 0 / 274.1 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.008753, allocations: 4 kB / 274.1 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.00876, allocations: 0 / 274.1 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.008761, allocations: 0 / 274.1 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008762, allocations: 4 kB / 274.1 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.008865, allocations: 88.22 kB / 274.2 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.008889, allocations: 11.95 kB / 274.2 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.008902, allocations: 4 kB / 274.2 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.333e-05/0.008915, allocations: 0 / 274.2 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.008925, allocations: 0 / 274.2 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.008927, allocations: 0 / 274.2 MB, free: 308 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.548e-05/0.008992, allocations: 169 kB / 274.4 MB, free: 140 kB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008992, allocations: 0 / 274.4 MB, free: 140 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.009126, allocations: 12 kB / 274.4 MB, free: 128 kB / 250.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.0003213/0.009447, allocations: 178.2 kB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.021e-05/0.009507, allocations: 15.62 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.00951, allocations: 4 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.536e-06/0.009518, allocations: 11.62 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.009631, allocations: 14.34 kB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.009873, allocations: 219.3 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.557e-05/0.009909, allocations: 67.33 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.776e-05/0.009936, allocations: 16.61 kB / 274.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.01001, allocations: 98.16 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01001, allocations: 0 / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Templates: time 0.002761/0.01278, allocations: 0.9963 MB / 276 MB, free: 14.51 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5750139439478517]