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.0008161/0.0008161, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003778/0.003778, allocations: 145.1 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8603/0.8603, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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 1.203e-06/1.203e-06, allocations: 0 / 319.7 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.001e-05, allocations: 6.219 kB / 319.7 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0009057/0.0009257, allocations: 0.5062 MB / 320.2 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.002746, allocations: 1.874 MB / 322 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.00278, allocations: 0 / 322 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009784/0.003758, allocations: 137 kB / 322.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.311e-05/0.003801, allocations: 31.91 kB / 322.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.003924, allocations: 51.81 kB / 322.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.004003, allocations: 47.83 kB / 322.3 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.004037, allocations: 4 kB / 322.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.907e-05/0.004116, allocations: 39.91 kB / 322.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.004186, allocations: 15.97 kB / 322.4 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.004201, allocations: 4 kB / 322.4 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.582e-05/0.004247, allocations: 19.92 kB / 322.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.363e-05/0.004321, allocations: 51.89 kB / 322.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.004352, allocations: 11.94 kB / 322.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.004506, allocations: 63.78 kB / 322.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004507, allocations: 0 / 322.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004508, allocations: 0 / 322.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.004512, allocations: 0 / 322.5 MB, free: 3.043 MB / 282.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.000335/0.004847, allocations: 327.6 kB / 322.8 MB, free: 2.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.004878, allocations: 8.922 kB / 322.8 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.004911, allocations: 4.938 kB / 322.8 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.005038, allocations: 133.7 kB / 323 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.852e-06/0.005045, allocations: 384 / 323 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.00506, allocations: 4.375 kB / 323 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.005178, allocations: 181.3 kB / 323.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.005184, allocations: 192 / 323.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.005194, allocations: 384 / 323.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.005199, allocations: 11.88 kB / 323.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.257e-05/0.005211, allocations: 0 / 323.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.005425, allocations: 121.3 kB / 323.3 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.177e-05/0.005457, allocations: 18.58 kB / 323.3 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.005471, allocations: 12.84 kB / 323.3 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.005481, allocations: 8.062 kB / 323.3 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.005509, allocations: 60.27 kB / 323.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.00551, allocations: 0 / 323.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001119/0.005622, allocations: 49.58 kB / 323.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.005676, allocations: 162.2 kB / 323.6 MB, free: 1.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.005772, allocations: 152.4 kB / 323.7 MB, free: 1.602 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.005783, allocations: 33.64 kB / 323.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.00582, allocations: 96.12 kB / 323.9 MB, free: 1.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.005835, allocations: 3.953 kB / 323.9 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.00586, allocations: 17.72 kB / 323.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.005929, allocations: 319 kB / 324.2 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.005941, allocations: 12 kB / 324.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/0.005993, allocations: 139.1 kB / 324.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/0.006017, allocations: 24.73 kB / 324.4 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006018, allocations: 0 / 324.4 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.499e-05/0.006063, allocations: 45.69 kB / 324.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.006074, allocations: 4 kB / 324.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.006077, allocations: 0 / 324.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.006088, allocations: 0 / 324.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.457e-05/0.006113, allocations: 7.938 kB / 324.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.006117, allocations: 4.094 kB / 324.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.006157, allocations: 7.953 kB / 324.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.006161, allocations: 4 kB / 324.4 MB, free: 0.8242 MB / 282.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.935e-05/0.00622, allocations: 125.8 kB / 324.6 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-06/0.006228, allocations: 4 kB / 324.6 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.006248, allocations: 11.8 kB / 324.6 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006249, allocations: 0 / 324.6 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.006254, allocations: 3.938 kB / 324.6 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.006256, allocations: 3.938 kB / 324.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.131e-05/0.006347, allocations: 121.3 kB / 324.7 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006348, allocations: 4 kB / 324.7 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.006361, allocations: 4 kB / 324.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.006364, allocations: 8.016 kB / 324.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.00637, allocations: 0 / 324.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.00637, allocations: 0 / 324.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.006371, allocations: 0 / 324.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.977e-05/0.006451, allocations: 77.02 kB / 324.8 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.006473, allocations: 7.984 kB / 324.8 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.006486, allocations: 4 kB / 324.8 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.461e-05/0.00651, allocations: 96 / 324.8 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.006527, allocations: 11.92 kB / 324.8 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.006529, allocations: 4 kB / 324.8 MB, free: 388 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.151e-05/0.006581, allocations: 119.2 kB / 324.9 MB, free: 268 kB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006581, allocations: 0 / 324.9 MB, free: 268 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001281/0.006709, allocations: 12 kB / 325 MB, free: 256 kB / 282.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.0002443/0.006953, allocations: 192.7 kB / 325.1 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.309e-05/0.007017, allocations: 11.94 kB / 325.1 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007018, allocations: 0 / 325.1 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.007024, allocations: 4 kB / 325.2 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.007128, allocations: 12.12 kB / 325.2 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.00737, allocations: 206.9 kB / 325.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.203e-05/0.007412, allocations: 75.58 kB / 325.4 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.007436, allocations: 20.48 kB / 325.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007436, allocations: 0 / 325.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of Templates: time 0.002137/0.009572, allocations: 1.52 MB / 327 MB, free: 14.22 MB / 298.7 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.472313243895769]