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.001664/0.001664, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.002061/0.002061, allocations: 219.4 kB / 23 MB, free: 5.578 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.432/1.432, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.001863/0.001863, allocations: 67.89 kB / 376.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2727, allocations: 53.33 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001614/0.2743, allocations: 0.5277 MB / 430.3 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.2767, allocations: 1.917 MB / 432.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.2768, allocations: 4 kB / 432.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.279, allocations: 157.8 kB / 432.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.801e-05/0.2791, allocations: 27.86 kB / 432.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.2793, allocations: 47.86 kB / 432.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2794, allocations: 51.83 kB / 432.5 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.2794, allocations: 0 / 432.5 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/0.2795, allocations: 27.86 kB / 432.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.308e-05/0.2796, allocations: 27.91 kB / 432.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.2796, allocations: 0 / 432.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.892e-05/0.2796, allocations: 12 kB / 432.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/0.2797, allocations: 43.91 kB / 432.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.2798, allocations: 19.86 kB / 432.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.28, allocations: 55.47 kB / 432.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.28, allocations: 0 / 432.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.28, allocations: 0 / 432.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.28, allocations: 0 / 432.7 MB, free: 4.676 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.0005149/0.2805, allocations: 394.4 kB / 433.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2805, allocations: 12.03 kB / 433.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.2806, allocations: 8.891 kB / 433.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.2808, allocations: 196.2 kB / 433.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2808, allocations: 12.31 kB / 433.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2808, allocations: 8.312 kB / 433.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.281, allocations: 66.3 kB / 433.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.281, allocations: 0 / 433.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.281, allocations: 4 kB / 433.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.281, allocations: 3.984 kB / 433.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.281, allocations: 3.938 kB / 433.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.2814, allocations: 177.7 kB / 433.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.474e-05/0.2814, allocations: 22.58 kB / 433.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.2814, allocations: 12.84 kB / 433.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2815, allocations: 0 / 433.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/0.2815, allocations: 64.27 kB / 433.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.2815, allocations: 0 / 433.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.2817, allocations: 49.59 kB / 433.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/0.2818, allocations: 158.2 kB / 433.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.2819, allocations: 148.9 kB / 434 MB, free: 3.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.2819, allocations: 25.7 kB / 434 MB, free: 3.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.282, allocations: 100.1 kB / 434.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.282, allocations: 3.953 kB / 434.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.2821, allocations: 21.72 kB / 434.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2822, allocations: 319 kB / 434.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.2822, allocations: 4 kB / 434.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.2823, allocations: 44.28 kB / 434.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.2823, allocations: 12.86 kB / 434.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2823, allocations: 3.938 kB / 434.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.516e-05/0.2824, allocations: 49.62 kB / 434.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2824, allocations: 12.03 kB / 434.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2824, allocations: 0 / 434.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2824, allocations: 0 / 434.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.967e-05/0.2824, allocations: 8 kB / 434.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2824, allocations: 0 / 434.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.2825, allocations: 7.953 kB / 434.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.2825, allocations: 0 / 434.6 MB, free: 2.473 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.0001046/0.2826, allocations: 129.8 kB / 434.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.2826, allocations: 7.938 kB / 434.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.2826, allocations: 15.81 kB / 434.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2827, allocations: 3.938 kB / 434.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2827, allocations: 0 / 434.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.2827, allocations: 4 kB / 434.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.2828, allocations: 169.7 kB / 434.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2828, allocations: 0 / 434.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.2829, allocations: 4 kB / 434.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2829, allocations: 3.938 kB / 434.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2829, allocations: 0 / 434.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2829, allocations: 3.984 kB / 434.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2829, allocations: 3.938 kB / 434.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.283, allocations: 77.08 kB / 435 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.2831, allocations: 89.03 kB / 435.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.2831, allocations: 7.984 kB / 435.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.027e-05/0.2832, allocations: 0 / 435.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.2832, allocations: 0 / 435.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.2832, allocations: 0 / 435.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.278e-05/0.2833, allocations: 123.3 kB / 435.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2833, allocations: 0 / 435.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000201/0.2835, allocations: 16 kB / 435.2 MB, free: 1.723 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.0003552/0.2838, allocations: 150 kB / 435.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.093e-05/0.2839, allocations: 11.94 kB / 435.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2839, allocations: 0 / 435.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.2839, allocations: 4 kB / 435.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.2841, allocations: 10.66 kB / 435.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.2844, allocations: 249.6 kB / 435.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.2848, allocations: 0.708 MB / 436.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.823e-05/0.2848, allocations: 16.11 kB / 436.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.2848, allocations: 15.44 kB / 436.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2848, allocations: 0 / 436.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of Templates: time 0.004002/0.2888, allocations: 1.027 MB / 437.4 MB, free: 15.52 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/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: 4.458661749027669]