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.001363/0.001363, allocations: 108.2 kB / 19.04 MB, free: 3.25 MB / 14.72 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.001313/0.001313, allocations: 200.4 kB / 22.22 MB, free: 64 kB / 14.72 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 1.416/1.416, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001592/0.001592, allocations: 47.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2868, allocations: 52.14 MB / 420.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00175/0.2886, allocations: 0.543 MB / 421.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.2912, allocations: 1.873 MB / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.2913, allocations: 0 / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.2934, allocations: 127 kB / 423.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.515e-05/0.2934, allocations: 31.91 kB / 423.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.2936, allocations: 51.88 kB / 423.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2937, allocations: 43.89 kB / 423.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.2938, allocations: 3.938 kB / 423.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.2939, allocations: 27.92 kB / 423.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.294, allocations: 35.11 kB / 423.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.294, allocations: 4 kB / 423.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.233e-05/0.2941, allocations: 12 kB / 423.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.411e-05/0.2941, allocations: 47.89 kB / 423.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.2942, allocations: 23.86 kB / 423.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.2944, allocations: 55.48 kB / 423.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2944, allocations: 3.984 kB / 423.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2944, allocations: 0 / 423.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2944, allocations: 0 / 423.7 MB, free: 12.21 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.0005208/0.2949, allocations: 406.3 kB / 424.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2949, allocations: 8.031 kB / 424.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.295, allocations: 4.938 kB / 424.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.2952, allocations: 200.2 kB / 424.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.2952, allocations: 4.375 kB / 424.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.2952, allocations: 384 / 424.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.2954, allocations: 78.28 kB / 424.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2954, allocations: 0 / 424.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2954, allocations: 0 / 424.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2954, allocations: 0 / 424.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.2954, allocations: 7.938 kB / 424.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.2957, allocations: 177.7 kB / 424.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.75e-05/0.2958, allocations: 14.58 kB / 424.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.2958, allocations: 12.91 kB / 424.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-06/0.2958, allocations: 0 / 424.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.2959, allocations: 60.2 kB / 424.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.2959, allocations: 3.938 kB / 424.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.296, allocations: 53.59 kB / 424.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.2961, allocations: 162.2 kB / 424.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.2963, allocations: 145.8 kB / 425 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.2963, allocations: 25.7 kB / 425.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.2963, allocations: 96.12 kB / 425.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.2964, allocations: 0 / 425.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.2964, allocations: 21.67 kB / 425.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2965, allocations: 323 kB / 425.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.2966, allocations: 8 kB / 425.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.273e-05/0.2966, allocations: 40.28 kB / 425.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.2966, allocations: 16.8 kB / 425.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2966, allocations: 3.938 kB / 425.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.472e-05/0.2967, allocations: 49.62 kB / 425.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2967, allocations: 12.09 kB / 425.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2967, allocations: 0 / 425.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2968, allocations: 0 / 425.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.803e-05/0.2968, allocations: 4 kB / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2968, allocations: 0 / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.2969, allocations: 0 / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2969, allocations: 0 / 425.6 MB, free: 10.02 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.0001063/0.297, allocations: 129.8 kB / 425.7 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.297, allocations: 11.89 kB / 425.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.297, allocations: 19.86 kB / 425.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.297, allocations: 0 / 425.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.297, allocations: 0 / 425.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.297, allocations: 0 / 425.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.2972, allocations: 173.6 kB / 425.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2972, allocations: 4 kB / 425.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.2973, allocations: 3.938 kB / 425.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2973, allocations: 0 / 425.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2973, allocations: 11.94 kB / 426 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.2973, allocations: 0 / 426 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2973, allocations: 3.984 kB / 426 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.2974, allocations: 73.08 kB / 426 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.2975, allocations: 97.02 kB / 426.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2975, allocations: 0 / 426.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.2975, allocations: 4 kB / 426.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.2976, allocations: 0 / 426.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.2976, allocations: 0 / 426.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.2977, allocations: 122.4 kB / 426.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2977, allocations: 4.094 kB / 426.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002055/0.2979, allocations: 15.94 kB / 426.3 MB, free: 9.266 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.0004676/0.2983, allocations: 177.3 kB / 426.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.2984, allocations: 15.88 kB / 426.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2984, allocations: 0 / 426.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.2984, allocations: 4 kB / 426.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.2986, allocations: 18.31 kB / 426.5 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.299, allocations: 253.9 kB / 426.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.2994, allocations: 0.7117 MB / 427.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.485e-05/0.2994, allocations: 15.97 kB / 427.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.2994, allocations: 11.44 kB / 427.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2994, allocations: 0 / 427.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of Templates: time 0.004217/0.3037, allocations: 1.216 MB / 428.7 MB, free: 6.863 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.4678865959867835]