Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002215/0.002215, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 51.94 kB / 378.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3075, allocations: 53.38 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001782/0.3093, allocations: 0.5005 MB / 432.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.3119, allocations: 1.918 MB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.312, allocations: 0 / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004462/0.3164, allocations: 159.9 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.3165, allocations: 31.95 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.3167, allocations: 47.88 kB / 435 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.832e-05/0.3168, allocations: 39.84 kB / 435 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.3169, allocations: 4 kB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.317, allocations: 35.89 kB / 435.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.317, allocations: 15.88 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.3171, allocations: 4 kB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.509e-05/0.3171, allocations: 15.98 kB / 435.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3172, allocations: 59.83 kB / 435.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.3173, allocations: 7.938 kB / 435.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.3175, allocations: 58.42 kB / 435.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3175, allocations: 0 / 435.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3175, allocations: 0 / 435.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3175, allocations: 0 / 435.2 MB, free: 3.844 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.0004334/0.3179, allocations: 319.8 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.318, allocations: 12.03 kB / 435.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.318, allocations: 8.891 kB / 435.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.3182, allocations: 134.4 kB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3182, allocations: 384 / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.3182, allocations: 4.375 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.3184, allocations: 185 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3184, allocations: 3.938 kB / 435.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3184, allocations: 4 kB / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.3184, allocations: 0 / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.583e-05/0.3185, allocations: 0 / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.3187, allocations: 121.3 kB / 436 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.814e-05/0.3188, allocations: 30.52 kB / 436 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.3188, allocations: 8.922 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.3188, allocations: 0 / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.3189, allocations: 64.25 kB / 436.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3189, allocations: 0 / 436.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.319, allocations: 45.59 kB / 436.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.3191, allocations: 162.2 kB / 436.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.3193, allocations: 152.9 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3193, allocations: 25.7 kB / 436.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.3194, allocations: 96.12 kB / 436.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.3194, allocations: 3.953 kB / 436.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.3195, allocations: 25.66 kB / 436.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3196, allocations: 322.9 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.3196, allocations: 8 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3197, allocations: 143.1 kB / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.3198, allocations: 12.86 kB / 437.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3198, allocations: 0 / 437.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.018e-05/0.3199, allocations: 49.69 kB / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3199, allocations: 5.875 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3199, allocations: 3.938 kB / 437.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3199, allocations: 0 / 437.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.124e-05/0.3199, allocations: 7.938 kB / 437.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3199, allocations: 4.094 kB / 437.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-05/0.32, allocations: 7.953 kB / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.32, allocations: 0 / 437.1 MB, free: 1.625 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.000112/0.3201, allocations: 125.8 kB / 437.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.3201, allocations: 4 kB / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.3202, allocations: 19.69 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3202, allocations: 4 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3202, allocations: 0 / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3202, allocations: 0 / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.3203, allocations: 121.2 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3203, allocations: 4 kB / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.3204, allocations: 48 / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3204, allocations: 3.984 kB / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.3204, allocations: 3.984 kB / 437.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/0.3204, allocations: 7.938 kB / 437.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3204, allocations: 0 / 437.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.3205, allocations: 77.02 kB / 437.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3205, allocations: 7.984 kB / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3206, allocations: 8 kB / 437.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/0.3206, allocations: 7.938 kB / 437.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.3206, allocations: 8.078 kB / 437.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.3206, allocations: 0 / 437.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.3207, allocations: 119.2 kB / 437.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3207, allocations: 0 / 437.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002061/0.3209, allocations: 11.94 kB / 437.7 MB, free: 1.043 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.0003795/0.3213, allocations: 150.6 kB / 437.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.835e-05/0.3214, allocations: 11.98 kB / 437.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3214, allocations: 0 / 437.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.512e-05/0.3214, allocations: 11.94 kB / 437.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.3216, allocations: 4 kB / 437.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.3219, allocations: 203.6 kB / 438 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.777e-05/0.322, allocations: 79.45 kB / 438.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.322, allocations: 15.42 kB / 438.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.322, allocations: 0 / 438.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of Templates: time 0.003181/0.3252, allocations: 1.441 MB / 439.6 MB, free: 15.12 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 7.57516654394567]