Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001948/0.001948, allocations: 105.1 kB / 21.18 MB, free: 0.7656 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.002283/0.002283, allocations: 213.7 kB / 24.49 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.89 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2616, allocations: 53.4 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00181/0.2634, allocations: 0.5238 MB / 432.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.2662, allocations: 1.956 MB / 434.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.2662, allocations: 0 / 434.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003719/0.2699, allocations: 162 kB / 435.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.757e-05/0.27, allocations: 31.84 kB / 435.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.2702, allocations: 47.86 kB / 435.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.2703, allocations: 39.91 kB / 435.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.2704, allocations: 0 / 435.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.105e-05/0.2704, allocations: 35.91 kB / 435.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.2705, allocations: 27.78 kB / 435.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.2706, allocations: 4 kB / 435.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.966e-05/0.2706, allocations: 19.98 kB / 435.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.2707, allocations: 39.97 kB / 435.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.2707, allocations: 19.81 kB / 435.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.2709, allocations: 51.47 kB / 435.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2709, allocations: 0 / 435.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2709, allocations: 0 / 435.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.271, allocations: 0 / 435.4 MB, free: 3.859 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.0005342/0.2715, allocations: 317.4 kB / 435.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2715, allocations: 8.031 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.2716, allocations: 12.89 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.2718, allocations: 149 kB / 435.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2718, allocations: 384 / 435.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.2718, allocations: 8.359 kB / 435.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.272, allocations: 74.23 kB / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.272, allocations: 0 / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.272, allocations: 12 kB / 435.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.272, allocations: 0 / 435.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.272, allocations: 0 / 435.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.2723, allocations: 140.8 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.486e-05/0.2724, allocations: 30.45 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.2724, allocations: 8.922 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.2724, allocations: 0 / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.2725, allocations: 68.19 kB / 436.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.2725, allocations: 0 / 436.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.2726, allocations: 49.59 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.2727, allocations: 154.2 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.2729, allocations: 150.1 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2729, allocations: 29.7 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.273, allocations: 96.12 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.273, allocations: 0 / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.273, allocations: 25.8 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2732, allocations: 322.8 kB / 437 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.2732, allocations: 0 / 437 MB, free: 2.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.364e-05/0.2733, allocations: 40.28 kB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.2733, allocations: 16.86 kB / 437 MB, free: 1.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2733, allocations: 4.062 kB / 437 MB, free: 1.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.097e-05/0.2734, allocations: 49.62 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2734, allocations: 7.938 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2734, allocations: 0 / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2734, allocations: 0 / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.813e-05/0.2734, allocations: 7.938 kB / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2734, allocations: 0 / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.2735, allocations: 4 kB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.2735, allocations: 0 / 437.1 MB, free: 1.859 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.0001023/0.2736, allocations: 129.9 kB / 437.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.2736, allocations: 11.89 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.2737, allocations: 15.77 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2737, allocations: 4 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2737, allocations: 0 / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2737, allocations: 3.984 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.2739, allocations: 136.8 kB / 437.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2739, allocations: 0 / 437.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.2739, allocations: 3.984 kB / 437.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2739, allocations: 3.938 kB / 437.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2739, allocations: 8 kB / 437.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2739, allocations: 0 / 437.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2739, allocations: 0 / 437.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.274, allocations: 77.05 kB / 437.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.2741, allocations: 15.89 kB / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.2741, allocations: 0 / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.168e-05/0.2741, allocations: 4 kB / 437.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.2742, allocations: 12.02 kB / 437.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.2742, allocations: 0 / 437.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.415e-05/0.2743, allocations: 122 kB / 437.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2743, allocations: 0 / 437.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.2745, allocations: 11.94 kB / 437.7 MB, free: 1.242 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.0003601/0.2748, allocations: 135.5 kB / 437.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.672e-05/0.2749, allocations: 23.86 kB / 437.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2749, allocations: 0 / 437.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.2749, allocations: 4 kB / 437.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.2751, allocations: 8 kB / 437.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.2754, allocations: 203.8 kB / 438 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.2758, allocations: 0.6885 MB / 438.7 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.2758, allocations: 23.36 kB / 438.7 MB, free: 112 kB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2758, allocations: 0 / 438.7 MB, free: 112 kB / 334.1 MB Notification: Performance of Templates: time 0.003371/0.2792, allocations: 1.421 MB / 440.2 MB, free: 14.71 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.5545053638052195]