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.001814/0.001814, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002254/0.002254, allocations: 183.7 kB / 23.71 MB, free: 4.695 MB / 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.517/1.517, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.001531/0.001531, allocations: 47.91 kB / 370.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2664, allocations: 52.19 MB / 423.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001619/0.268, allocations: 0.5426 MB / 423.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.2704, allocations: 1.893 MB / 425.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.2704, allocations: 0 / 425.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.2725, allocations: 128.5 kB / 425.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.2725, allocations: 27.97 kB / 425.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.2727, allocations: 43.88 kB / 425.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.2728, allocations: 55.77 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.2729, allocations: 4 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.718e-05/0.273, allocations: 31.91 kB / 425.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.2731, allocations: 25.78 kB / 425.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.2731, allocations: 0 / 425.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.058e-05/0.2731, allocations: 23.92 kB / 425.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.759e-05/0.2732, allocations: 51.89 kB / 425.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.2733, allocations: 15.88 kB / 425.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.2735, allocations: 63.45 kB / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2735, allocations: 0 / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2735, allocations: 0 / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2735, allocations: 0 / 426 MB, free: 11.75 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.0004403/0.274, allocations: 325.2 kB / 426.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.274, allocations: 8.031 kB / 426.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.274, allocations: 8.938 kB / 426.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.2742, allocations: 138.4 kB / 426.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.2742, allocations: 4.375 kB / 426.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.2743, allocations: 4.375 kB / 426.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.2744, allocations: 74.23 kB / 426.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2744, allocations: 0 / 426.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2744, allocations: 0 / 426.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.2744, allocations: 7.938 kB / 426.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.726e-05/0.2744, allocations: 4 kB / 426.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.2747, allocations: 140.8 kB / 426.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.2748, allocations: 22.52 kB / 426.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.2748, allocations: 8.922 kB / 426.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.2748, allocations: 0 / 426.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.2748, allocations: 72.19 kB / 426.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.2748, allocations: 0 / 426.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001382/0.275, allocations: 45.59 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.402e-05/0.2751, allocations: 154.2 kB / 427 MB, free: 10.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.2752, allocations: 156.9 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.2753, allocations: 33.7 kB / 427.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.2753, allocations: 96.12 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.2753, allocations: 3.938 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.2754, allocations: 21.8 kB / 427.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2755, allocations: 322.8 kB / 427.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.2755, allocations: 0 / 427.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.619e-05/0.2756, allocations: 44.28 kB / 427.7 MB, free: 9.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.2756, allocations: 20.86 kB / 427.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2756, allocations: 0 / 427.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.881e-05/0.2757, allocations: 53.67 kB / 427.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.2757, allocations: 4 kB / 427.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2757, allocations: 3.984 kB / 427.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2757, allocations: 4 kB / 427.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-05/0.2758, allocations: 0 / 427.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2758, allocations: 3.984 kB / 427.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.2758, allocations: 4 kB / 427.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.2759, allocations: 0 / 427.7 MB, free: 9.754 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.000104/0.276, allocations: 129.8 kB / 427.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.276, allocations: 15.92 kB / 427.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.276, allocations: 7.812 kB / 427.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.276, allocations: 0 / 427.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.276, allocations: 0 / 427.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.276, allocations: 0 / 427.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.2762, allocations: 148.7 kB / 428 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2762, allocations: 0 / 428 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.2762, allocations: 3.938 kB / 428 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2762, allocations: 3.984 kB / 428.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2762, allocations: 0 / 428.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2762, allocations: 12 kB / 428.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2762, allocations: 0 / 428.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.2764, allocations: 73.02 kB / 428.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.2764, allocations: 19.86 kB / 428.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2764, allocations: 0 / 428.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/0.2765, allocations: 3.938 kB / 428.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.2765, allocations: 7.984 kB / 428.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.2765, allocations: 4.094 kB / 428.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.82e-05/0.2766, allocations: 123.2 kB / 428.3 MB, free: 9.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2766, allocations: 0 / 428.3 MB, free: 9.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002075/0.2768, allocations: 8 kB / 428.3 MB, free: 9.133 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.0004518/0.2773, allocations: 170.1 kB / 428.5 MB, free: 8.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.464e-05/0.2773, allocations: 11.98 kB / 428.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2773, allocations: 0 / 428.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/0.2774, allocations: 11.94 kB / 428.5 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.2775, allocations: 8.125 kB / 428.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.2779, allocations: 249.8 kB / 428.7 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.2782, allocations: 0.7117 MB / 429.5 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.33e-05/0.2783, allocations: 12 kB / 429.5 MB, free: 7.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.2783, allocations: 15.42 kB / 429.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2783, allocations: 0 / 429.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of Templates: time 0.004222/0.2825, allocations: 1.218 MB / 430.7 MB, free: 6.738 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.616361108608544]