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.001395/0.001395, allocations: 110.5 kB / 21.17 MB, free: 0.7617 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.001486/0.001486, allocations: 220.5 kB / 24.47 MB, free: 4.191 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.461/1.461, allocations: 230.4 MB / 258.1 MB, free: 8.129 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.002018/0.002018, allocations: 75.81 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2525, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00164/0.2542, allocations: 0.53 MB / 432.5 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.2566, allocations: 1.945 MB / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.2566, allocations: 8 kB / 434.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.259, allocations: 155.2 kB / 434.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.2591, allocations: 27.84 kB / 434.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.2593, allocations: 47.92 kB / 434.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.2594, allocations: 47.84 kB / 434.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.2594, allocations: 0 / 434.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.2595, allocations: 27.91 kB / 434.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.2596, allocations: 31.8 kB / 434.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2596, allocations: 0 / 434.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.744e-05/0.2596, allocations: 19.92 kB / 434.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.2597, allocations: 39.97 kB / 434.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.2598, allocations: 19.8 kB / 434.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.2599, allocations: 57.3 kB / 435 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2599, allocations: 0 / 435 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2599, allocations: 4 kB / 435 MB, free: 4.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2599, allocations: 0 / 435 MB, free: 4.461 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.0004713/0.2604, allocations: 388.9 kB / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2604, allocations: 12.03 kB / 435.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.2605, allocations: 8.891 kB / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.2607, allocations: 196.1 kB / 435.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.2607, allocations: 384 / 435.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.2607, allocations: 8.375 kB / 435.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.2609, allocations: 74.23 kB / 435.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2609, allocations: 0 / 435.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2609, allocations: 4 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2609, allocations: 0 / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.725e-05/0.2609, allocations: 3.984 kB / 435.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.2612, allocations: 169.7 kB / 435.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.836e-05/0.2613, allocations: 34.5 kB / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.2613, allocations: 4.859 kB / 435.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.2613, allocations: 0 / 435.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/0.2614, allocations: 68.27 kB / 435.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.2614, allocations: 0 / 435.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001283/0.2615, allocations: 45.64 kB / 436 MB, free: 3.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.2616, allocations: 154.2 kB / 436.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.2618, allocations: 158.2 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2618, allocations: 25.7 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.2618, allocations: 96.14 kB / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.2619, allocations: 0 / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.2619, allocations: 25.66 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.262, allocations: 314.8 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.262, allocations: 4 kB / 436.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.2621, allocations: 52.28 kB / 436.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.2622, allocations: 12.86 kB / 436.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2622, allocations: 0 / 436.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.701e-05/0.2622, allocations: 49.62 kB / 436.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2622, allocations: 7.938 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2622, allocations: 0 / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2623, allocations: 0 / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.873e-05/0.2623, allocations: 12.03 kB / 436.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.2623, allocations: 0 / 436.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.2624, allocations: 11.92 kB / 436.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.2624, allocations: 0 / 436.9 MB, free: 2.266 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 0.000104/0.2625, allocations: 125.8 kB / 437 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.2625, allocations: 11.89 kB / 437 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.2625, allocations: 11.81 kB / 437 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.2625, allocations: 0 / 437 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2625, allocations: 4 kB / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.2625, allocations: 8.031 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.2627, allocations: 173.6 kB / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2627, allocations: 0 / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.2627, allocations: 4 kB / 437.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2627, allocations: 3.938 kB / 437.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.2628, allocations: 0 / 437.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2628, allocations: 0 / 437.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2628, allocations: 0 / 437.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.2629, allocations: 81.02 kB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.263, allocations: 93.02 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.263, allocations: 4 kB / 437.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.263, allocations: 0 / 437.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-06/0.263, allocations: 0 / 437.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.263, allocations: 0 / 437.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.2631, allocations: 121.5 kB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2631, allocations: 0 / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.2633, allocations: 16 kB / 437.5 MB, free: 1.527 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.0003391/0.2637, allocations: 143.9 kB / 437.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.286e-05/0.2637, allocations: 8 kB / 437.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2637, allocations: 64 / 437.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.297e-05/0.2638, allocations: 11.94 kB / 437.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.2639, allocations: 15.92 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.2643, allocations: 245.6 kB / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.2646, allocations: 0.708 MB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.2647, allocations: 19.91 kB / 438.7 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.2647, allocations: 15.44 kB / 438.7 MB, free: 336 kB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2647, allocations: 8.062 kB / 438.7 MB, free: 328 kB / 334.1 MB Notification: Performance of Templates: time 0.003992/0.2687, allocations: 1.025 MB / 439.7 MB, free: 15.32 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 -s cvode -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: 4.389028831850737]