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.001386/0.001386, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001409/0.001409, allocations: 185 kB / 24.46 MB, free: 3.863 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.461/1.461, allocations: 225.7 MB / 253.3 MB, free: 12.83 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.001506/0.001506, allocations: 47.92 kB / 371.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2868, allocations: 52.18 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001795/0.2886, allocations: 0.5275 MB / 424.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.2913, allocations: 1.858 MB / 426.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.2913, allocations: 0 / 426.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.2931, allocations: 133.4 kB / 426.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.106e-05/0.2931, allocations: 27.92 kB / 426.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.2933, allocations: 55.61 kB / 426.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.2935, allocations: 43.89 kB / 426.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.2935, allocations: 0 / 426.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.2936, allocations: 35.8 kB / 426.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.2937, allocations: 27.91 kB / 426.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2937, allocations: 0 / 426.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.2938, allocations: 19.98 kB / 426.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2939, allocations: 51.83 kB / 426.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.2939, allocations: 15.92 kB / 426.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.2942, allocations: 58.44 kB / 426.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.2942, allocations: 3.984 kB / 426.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2942, allocations: 0 / 426.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2942, allocations: 0 / 426.6 MB, free: 11.64 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.0005108/0.2947, allocations: 327.6 kB / 427 MB, free: 11.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2947, allocations: 12.03 kB / 427 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.2948, allocations: 8.938 kB / 427 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.295, allocations: 134.4 kB / 427.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.295, allocations: 384 / 427.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.295, allocations: 384 / 427.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.2952, allocations: 181 kB / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2952, allocations: 7.984 kB / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2952, allocations: 0 / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2952, allocations: 0 / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.2953, allocations: 0 / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.2956, allocations: 121.3 kB / 427.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.073e-05/0.2956, allocations: 26.45 kB / 427.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.2956, allocations: 16.91 kB / 427.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.2956, allocations: 3.938 kB / 427.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.2957, allocations: 56.27 kB / 427.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2957, allocations: 0 / 427.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001499/0.2959, allocations: 49.59 kB / 427.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.296, allocations: 162.2 kB / 427.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.2961, allocations: 147.7 kB / 427.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2961, allocations: 25.7 kB / 427.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.2962, allocations: 96.12 kB / 428 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.2962, allocations: 11.89 kB / 428 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.2963, allocations: 25.78 kB / 428 MB, free: 10.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2964, allocations: 318.8 kB / 428.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.2965, allocations: 4 kB / 428.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2966, allocations: 147.1 kB / 428.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/0.2966, allocations: 8.859 kB / 428.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2966, allocations: 4 kB / 428.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.456e-05/0.2967, allocations: 45.69 kB / 428.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2967, allocations: 7.938 kB / 428.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2967, allocations: 0 / 428.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2967, allocations: 8.078 kB / 428.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.179e-05/0.2968, allocations: 7.984 kB / 428.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2968, allocations: 3.984 kB / 428.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.2969, allocations: 4 kB / 428.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2969, allocations: 0 / 428.6 MB, free: 9.418 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.0001099/0.297, allocations: 129.8 kB / 428.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.297, allocations: 11.89 kB / 428.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.297, allocations: 7.797 kB / 428.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.297, allocations: 4 kB / 428.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.297, allocations: 0 / 428.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.297, allocations: 4 kB / 428.7 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.2972, allocations: 117.3 kB / 428.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2972, allocations: 4 kB / 428.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.2972, allocations: 0 / 428.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2972, allocations: 0 / 428.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.2972, allocations: 7.922 kB / 428.9 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2972, allocations: 4 kB / 428.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2972, allocations: 0 / 428.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.2974, allocations: 84.95 kB / 428.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.2974, allocations: 11.98 kB / 429 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.2974, allocations: 8.031 kB / 429 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.2975, allocations: 4 kB / 429 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.2975, allocations: 7.922 kB / 429 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.2975, allocations: 0 / 429 MB, free: 8.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.2976, allocations: 122.1 kB / 429.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2976, allocations: 0 / 429.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.2978, allocations: 16 kB / 429.1 MB, free: 8.828 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.0005546/0.2984, allocations: 172.4 kB / 429.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.822e-05/0.2985, allocations: 11.98 kB / 429.3 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.2985, allocations: 4 kB / 429.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.06e-05/0.2985, allocations: 8 kB / 429.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.2987, allocations: 10.66 kB / 429.3 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.299, allocations: 199.7 kB / 429.5 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.09e-05/0.2991, allocations: 79.19 kB / 429.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.2991, allocations: 15.42 kB / 429.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2991, allocations: 0 / 429.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of Templates: time 0.003553/0.3027, allocations: 1.515 MB / 431.1 MB, free: 6.82 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/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: 7.401940803043544]