Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009407/0.0009407, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 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.0009083/0.0009083, allocations: 168.7 kB / 25.7 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8359/0.8359, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 251.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.584e-05, allocations: 2.312 kB / 251.5 MB, free: 7.301 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.000977/0.0009929, allocations: 0.5303 MB / 252 MB, free: 6.77 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.002697, allocations: 1.979 MB / 254 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.002734, allocations: 0 / 254 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.004695, allocations: 193.7 kB / 254.2 MB, free: 4.621 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.004748, allocations: 39.84 kB / 254.2 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.004894, allocations: 51.8 kB / 254.3 MB, free: 4.531 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.61e-05/0.00497, allocations: 43.84 kB / 254.3 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.142e-05/0.005002, allocations: 11.98 kB / 254.3 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000899/0.005901, allocations: 310.9 kB / 254.6 MB, free: 4.184 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.209e-05/0.005973, allocations: 19.91 kB / 254.7 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.005988, allocations: 0 / 254.7 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.006033, allocations: 19.98 kB / 254.7 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.366e-05/0.006097, allocations: 27.92 kB / 254.7 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.006124, allocations: 19.92 kB / 254.7 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.006315, allocations: 63.69 kB / 254.8 MB, free: 4.035 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.006317, allocations: 0 / 254.8 MB, free: 4.035 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006317, allocations: 0 / 254.8 MB, free: 4.035 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.00632, allocations: 0 / 254.8 MB, free: 4.035 MB / 234.7 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.0002805/0.006601, allocations: 326 kB / 255.1 MB, free: 3.688 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.006632, allocations: 19.97 kB / 255.1 MB, free: 3.668 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.006658, allocations: 8.938 kB / 255.1 MB, free: 3.66 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.006789, allocations: 154.3 kB / 255.3 MB, free: 3.484 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.006796, allocations: 4.375 kB / 255.3 MB, free: 3.48 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.00681, allocations: 384 / 255.3 MB, free: 3.48 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.6e-05/0.006886, allocations: 76.5 kB / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-06/0.006891, allocations: 192 / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.006898, allocations: 384 / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.006903, allocations: 3.938 kB / 255.4 MB, free: 3.383 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-06/0.006911, allocations: 10.77 kB / 255.4 MB, free: 3.371 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.007088, allocations: 82.58 kB / 255.5 MB, free: 3.273 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.957e-05/0.007118, allocations: 22.59 kB / 255.5 MB, free: 3.242 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.838e-06/0.007128, allocations: 8.844 kB / 255.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.007133, allocations: 0 / 255.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.007169, allocations: 68.33 kB / 255.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.007169, allocations: 0 / 255.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 9.584e-05/0.007265, allocations: 41.62 kB / 255.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.007304, allocations: 77.11 kB / 255.7 MB, free: 3.008 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.007401, allocations: 159.5 kB / 255.8 MB, free: 2.84 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.00741, allocations: 25.7 kB / 255.9 MB, free: 2.809 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.007442, allocations: 100.1 kB / 256 MB, free: 2.707 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.007458, allocations: 0 / 256 MB, free: 2.707 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.007482, allocations: 17.7 kB / 256 MB, free: 2.684 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.007586, allocations: 330.7 kB / 256.3 MB, free: 2.352 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.007595, allocations: 2.953 kB / 256.3 MB, free: 2.348 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.007624, allocations: 43.42 kB / 256.3 MB, free: 2.293 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/0.00765, allocations: 11.69 kB / 256.4 MB, free: 2.277 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.007653, allocations: 0 / 256.4 MB, free: 2.277 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.357e-05/0.007706, allocations: 48.45 kB / 256.4 MB, free: 2.223 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.00772, allocations: 4 kB / 256.4 MB, free: 2.219 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007724, allocations: 0 / 256.4 MB, free: 2.219 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.007737, allocations: 0 / 256.4 MB, free: 2.219 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-05/0.007761, allocations: 4 kB / 256.4 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.007764, allocations: 128 / 256.4 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.007784, allocations: 7.938 kB / 256.4 MB, free: 2.207 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.007788, allocations: 0 / 256.4 MB, free: 2.207 MB / 234.7 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 5.623e-05/0.007844, allocations: 120.7 kB / 256.5 MB, free: 2.078 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-06/0.007852, allocations: 4 kB / 256.5 MB, free: 2.074 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.007877, allocations: 12.48 kB / 256.6 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.007878, allocations: 0 / 256.6 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.00788, allocations: 0 / 256.6 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.007884, allocations: 0 / 256.6 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.995e-05/0.007984, allocations: 85.81 kB / 256.6 MB, free: 1.957 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007985, allocations: 0 / 256.6 MB, free: 1.957 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.008001, allocations: 12 kB / 256.7 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.008002, allocations: 3.938 kB / 256.7 MB, free: 1.941 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.00801, allocations: 3.938 kB / 256.7 MB, free: 1.938 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.008011, allocations: 3.984 kB / 256.7 MB, free: 1.934 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.008013, allocations: 4 kB / 256.7 MB, free: 1.93 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.209e-05/0.008095, allocations: 74.7 kB / 256.7 MB, free: 1.836 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.008119, allocations: 11.91 kB / 256.8 MB, free: 1.824 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.00813, allocations: 4 kB / 256.8 MB, free: 1.82 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.008141, allocations: 0 / 256.8 MB, free: 1.82 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.008156, allocations: 64 / 256.8 MB, free: 1.82 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.008157, allocations: 4 kB / 256.8 MB, free: 1.816 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.681e-05/0.008194, allocations: 50.72 kB / 256.8 MB, free: 1.766 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008194, allocations: 0 / 256.8 MB, free: 1.766 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001089/0.008303, allocations: 11.98 kB / 256.8 MB, free: 1.754 MB / 234.7 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.0003527/0.008656, allocations: 172.1 kB / 257 MB, free: 1.582 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 5.269e-05/0.008709, allocations: 16.8 kB / 257 MB, free: 1.562 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.008712, allocations: 0 / 257 MB, free: 1.562 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.585e-06/0.008719, allocations: 12.84 kB / 257 MB, free: 1.547 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.572e-05/0.008785, allocations: 11.94 kB / 257 MB, free: 1.535 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.009044, allocations: 222.6 kB / 257.2 MB, free: 1.289 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.293e-05/0.009077, allocations: 71.33 kB / 257.3 MB, free: 1.199 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.006e-05/0.009107, allocations: 8.484 kB / 257.3 MB, free: 1.191 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/0.00918, allocations: 71.34 kB / 257.4 MB, free: 1.121 MB / 234.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009181, allocations: 0 / 257.4 MB, free: 1.121 MB / 234.7 MB Notification: Performance of Templates: time 0.002591/0.01177, allocations: 1.011 MB / 258.4 MB, free: 116 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.511366270016879]