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.001288/0.001288, allocations: 85.98 kB / 20.68 MB, free: 1.035 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.001507/0.001507, allocations: 165.5 kB / 23.96 MB, free: 4.164 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.45/1.45, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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 1.222e-06/1.222e-06, allocations: 0 / 325 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.793e-05, allocations: 2.281 kB / 325 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001247/0.001265, allocations: 0.5298 MB / 325.6 MB, free: 244 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.003641, allocations: 1.924 MB / 327.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.00368, allocations: 3.938 kB / 327.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.00603, allocations: 154.3 kB / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.006099, allocations: 29.48 kB / 327.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.00628, allocations: 50.62 kB / 327.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.006381, allocations: 48.94 kB / 327.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.118e-05/0.006412, allocations: 3.734 kB / 327.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.006515, allocations: 37.66 kB / 327.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.006587, allocations: 19.75 kB / 327.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.006609, allocations: 1.219 kB / 327.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.254e-05/0.006661, allocations: 13.98 kB / 327.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.477e-05/0.006746, allocations: 43.75 kB / 327.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.006788, allocations: 13.91 kB / 327.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.006977, allocations: 54.36 kB / 327.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00698, allocations: 0.6562 kB / 327.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006981, allocations: 0 / 327.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.006984, allocations: 1.375 kB / 327.9 MB, free: 14.66 MB / 302.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.0004298/0.007414, allocations: 316.3 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.007444, allocations: 12.69 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.007482, allocations: 10.44 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.007665, allocations: 132 kB / 328.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.007675, allocations: 4.312 kB / 328.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.007696, allocations: 2.453 kB / 328.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.007894, allocations: 173.3 kB / 328.6 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.007903, allocations: 4.172 kB / 328.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.007914, allocations: 1.5 kB / 328.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.007922, allocations: 5.062 kB / 328.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.007942, allocations: 6.578 kB / 328.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.008223, allocations: 127.2 kB / 328.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.008272, allocations: 19.14 kB / 328.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.008291, allocations: 6.953 kB / 328.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.008297, allocations: 1.25 kB / 328.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.008343, allocations: 62.34 kB / 328.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.008344, allocations: 3.938 kB / 328.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.000141/0.008485, allocations: 48.19 kB / 328.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.008589, allocations: 160.2 kB / 329 MB, free: 13.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.008751, allocations: 152.8 kB / 329.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.008773, allocations: 31.33 kB / 329.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.008833, allocations: 94.69 kB / 329.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.008853, allocations: 9.234 kB / 329.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.008892, allocations: 16.27 kB / 329.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.009044, allocations: 323.6 kB / 329.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.009059, allocations: 3.719 kB / 329.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.009167, allocations: 145.8 kB / 329.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.009199, allocations: 12.94 kB / 329.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0092, allocations: 0 / 329.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.568e-05/0.009296, allocations: 54.84 kB / 329.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.00931, allocations: 10.66 kB / 329.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.009316, allocations: 4 kB / 329.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.009331, allocations: 2.656 kB / 329.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.927e-05/0.00936, allocations: 4.125 kB / 329.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.009367, allocations: 3.938 kB / 329.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.009431, allocations: 0.7969 kB / 329.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.009438, allocations: 1.953 kB / 329.9 MB, free: 12.7 MB / 302.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.0001047/0.009542, allocations: 127.6 kB / 330 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.009563, allocations: 8.125 kB / 330 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.009583, allocations: 16.33 kB / 330 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.009585, allocations: 1.156 kB / 330 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.009592, allocations: 3.938 kB / 330 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.009594, allocations: 0.9375 kB / 330 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.009766, allocations: 123.2 kB / 330.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009767, allocations: 1.094 kB / 330.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.009793, allocations: 1.188 kB / 330.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.009795, allocations: 1.188 kB / 330.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.009801, allocations: 0.8906 kB / 330.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.009806, allocations: 3.938 kB / 330.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009807, allocations: 1 kB / 330.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.009926, allocations: 76.88 kB / 330.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.009959, allocations: 14.28 kB / 330.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.009977, allocations: 1.984 kB / 330.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.483e-05/0.01003, allocations: 4.203 kB / 330.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.01005, allocations: 0 / 330.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.01005, allocations: 5 kB / 330.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.451e-05/0.01015, allocations: 119 kB / 330.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01015, allocations: 0 / 330.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.01035, allocations: 17.62 kB / 330.4 MB, free: 12.26 MB / 302.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.0003592/0.01071, allocations: 152.2 kB / 330.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.91e-05/0.0108, allocations: 17.55 kB / 330.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.0108, allocations: 1.031 kB / 330.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.365e-05/0.01082, allocations: 7.688 kB / 330.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.01098, allocations: 9.906 kB / 330.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.01154, allocations: 238.5 kB / 330.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.01167, allocations: 98.11 kB / 330.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.01172, allocations: 14.12 kB / 330.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.01177, allocations: 16.14 kB / 330.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01177, allocations: 1.25 kB / 330.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Templates: time 0.004678/0.01645, allocations: 1.081 MB / 332 MB, free: 11.62 MB / 302.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/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_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: 4.198944240808487]