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.0009832/0.0009832, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001084/0.001084, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9783/0.9783, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.134e-06/2.134e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.639e-05, allocations: 2.312 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00166/0.001686, allocations: 0.5173 MB / 273.9 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.004145, allocations: 1.992 MB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.004195, allocations: 0 / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.006886, allocations: 250 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.777e-05/0.006944, allocations: 23.91 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.007125, allocations: 51.81 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.007226, allocations: 39.84 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.007268, allocations: 7.984 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00177/0.009039, allocations: 389.9 kB / 276.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.009117, allocations: 19.91 kB / 276.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.009133, allocations: 4 kB / 276.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.275e-05/0.009165, allocations: 0 / 276.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.009349, allocations: 27.92 kB / 276.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.009376, allocations: 7.938 kB / 276.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.009619, allocations: 59.58 kB / 276.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.009622, allocations: 0 / 276.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009623, allocations: 0 / 276.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.009627, allocations: 0 / 276.7 MB, free: 14.16 MB / 266.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.0004423/0.01007, allocations: 465.6 kB / 277.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.01011, allocations: 8.031 kB / 277.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.01015, allocations: 12.89 kB / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.01036, allocations: 183.8 kB / 277.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.01037, allocations: 384 / 277.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.01039, allocations: 384 / 277.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.01049, allocations: 71.34 kB / 277.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.0105, allocations: 192 / 277.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.01051, allocations: 384 / 277.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.01051, allocations: 3.938 kB / 277.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.848e-06/0.01052, allocations: 7.938 kB / 277.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.01078, allocations: 125.2 kB / 277.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.163e-05/0.01082, allocations: 27.06 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.01083, allocations: 15.75 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.01084, allocations: 3.984 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.01088, allocations: 63.09 kB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.01088, allocations: 0 / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.01099, allocations: 53.53 kB / 277.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.01106, allocations: 77.11 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.01124, allocations: 259.7 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.01125, allocations: 25.7 kB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.01133, allocations: 166.8 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.01135, allocations: 12.11 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.01138, allocations: 15.38 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.01161, allocations: 0.504 MB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.01162, allocations: 0 / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.01165, allocations: 45.08 kB / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.01168, allocations: 11.69 kB / 278.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01168, allocations: 0 / 278.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.172e-05/0.01175, allocations: 57.53 kB / 278.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.01176, allocations: 8 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01177, allocations: 4.125 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.01178, allocations: 3.938 kB / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.476e-05/0.01182, allocations: 4 kB / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.01182, allocations: 0 / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.01184, allocations: 3.938 kB / 278.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.01184, allocations: 0 / 278.9 MB, free: 11.71 MB / 266.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 7.853e-05/0.01192, allocations: 156.6 kB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.01194, allocations: 11.91 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.01197, allocations: 16.48 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01197, allocations: 4 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01198, allocations: 4 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01198, allocations: 3.938 kB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.01216, allocations: 133.2 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01216, allocations: 0 / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.01218, allocations: 0 / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01218, allocations: 3.938 kB / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.01219, allocations: 4 kB / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01219, allocations: 0 / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01219, allocations: 0 / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.0123, allocations: 88.31 kB / 279.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.01233, allocations: 7.953 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.01235, allocations: 8 kB / 279.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.573e-05/0.01236, allocations: 0 / 279.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.01237, allocations: 0 / 279.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.01238, allocations: 3.984 kB / 279.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.681e-05/0.01248, allocations: 168.4 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01248, allocations: 0 / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.01269, allocations: 8 kB / 279.5 MB, free: 11.05 MB / 266.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.0002103/0.0129, allocations: 121.4 kB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.01298, allocations: 31.55 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01298, allocations: 0 / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.127e-06/0.01299, allocations: 7.688 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.01316, allocations: 15.09 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.01345, allocations: 214.4 kB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.577e-05/0.0135, allocations: 71.33 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.964e-05/0.01354, allocations: 13.09 kB / 280 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.01361, allocations: 94.12 kB / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01361, allocations: 0 / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of Templates: time 0.003102/0.01672, allocations: 0.5968 MB / 280.7 MB, free: 9.852 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] 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","",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.6975574088282883]