Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001516, allocations: 117.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2606, allocations: 53.31 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001688/0.2623, allocations: 0.5383 MB / 432.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.2647, allocations: 1.945 MB / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.2648, allocations: 0 / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003968/0.2687, allocations: 161.8 kB / 434.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.2688, allocations: 23.92 kB / 434.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.269, allocations: 47.88 kB / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.2691, allocations: 39.84 kB / 434.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.2692, allocations: 11.97 kB / 434.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.352e-05/0.2693, allocations: 23.92 kB / 434.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.2693, allocations: 27.84 kB / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2694, allocations: 4 kB / 434.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.766e-05/0.2694, allocations: 16 kB / 434.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.559e-05/0.2695, allocations: 39.91 kB / 434.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.2696, allocations: 23.86 kB / 434.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.2698, allocations: 45.31 kB / 435 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2698, allocations: 0 / 435 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2698, allocations: 0 / 435 MB, free: 4.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2698, allocations: 0 / 435 MB, free: 4.5 MB / 334.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.0005105/0.2703, allocations: 396.9 kB / 435.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2703, allocations: 12.02 kB / 435.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.2704, allocations: 16.88 kB / 435.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.2706, allocations: 203.5 kB / 435.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2706, allocations: 4.375 kB / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.2706, allocations: 384 / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.2708, allocations: 78.17 kB / 435.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2708, allocations: 4 kB / 435.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2708, allocations: 4 kB / 435.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.2708, allocations: 0 / 435.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.2708, allocations: 0 / 435.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.2712, allocations: 173.7 kB / 435.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.283e-05/0.2712, allocations: 26.52 kB / 435.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.2712, allocations: 4.859 kB / 435.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.2712, allocations: 8 kB / 435.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.2713, allocations: 68.19 kB / 435.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2713, allocations: 0 / 435.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.2715, allocations: 49.59 kB / 436 MB, free: 3.281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.2715, allocations: 154.2 kB / 436.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.2717, allocations: 150.1 kB / 436.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.2717, allocations: 25.7 kB / 436.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.2718, allocations: 96.12 kB / 436.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.2718, allocations: 4 kB / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.2718, allocations: 25.8 kB / 436.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.272, allocations: 322.8 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.272, allocations: 0 / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/0.272, allocations: 44.28 kB / 436.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.2721, allocations: 16.86 kB / 436.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2721, allocations: 4.062 kB / 436.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.424e-05/0.2722, allocations: 49.62 kB / 436.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2722, allocations: 10.75 kB / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2722, allocations: 0 / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2722, allocations: 0 / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.484e-05/0.2722, allocations: 4 kB / 436.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.2722, allocations: 0 / 436.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.2723, allocations: 4 kB / 436.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.2723, allocations: 0 / 436.9 MB, free: 2.293 MB / 334.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 9.933e-05/0.2724, allocations: 129.9 kB / 437 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.2724, allocations: 11.89 kB / 437 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.2724, allocations: 11.83 kB / 437 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.2724, allocations: 4 kB / 437 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2724, allocations: 0 / 437 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2724, allocations: 7.922 kB / 437 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.2726, allocations: 165.7 kB / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2726, allocations: 0 / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.2727, allocations: 3.984 kB / 437.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2727, allocations: 3.938 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2727, allocations: 4 kB / 437.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.2727, allocations: 0 / 437.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2727, allocations: 4 kB / 437.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.2728, allocations: 73.02 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.2729, allocations: 93.03 kB / 437.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.2729, allocations: 4 kB / 437.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.2729, allocations: 3.984 kB / 437.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-06/0.2729, allocations: 4.094 kB / 437.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.2729, allocations: 4 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.957e-05/0.273, allocations: 121.8 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.273, allocations: 0 / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.2732, allocations: 12 kB / 437.5 MB, free: 1.551 MB / 334.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.0003811/0.2736, allocations: 141.7 kB / 437.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.2737, allocations: 15.94 kB / 437.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2737, allocations: 0 / 437.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.396e-06/0.2737, allocations: 7.938 kB / 437.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.2738, allocations: 7.938 kB / 437.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.2742, allocations: 211.7 kB / 437.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.2745, allocations: 0.6885 MB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.2745, allocations: 19.42 kB / 438.6 MB, free: 428 kB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2745, allocations: 0 / 438.6 MB, free: 428 kB / 334.1 MB Notification: Performance of Templates: time 0.003083/0.2776, allocations: 1.411 MB / 440 MB, free: 15.02 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.022075509652495]