Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001854/0.001854, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00216/0.00216, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 67.88 kB / 374.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09472, allocations: 53.32 MB / 427.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001586/0.09631, allocations: 0.5244 MB / 428.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.09861, allocations: 1.859 MB / 430.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.09864, allocations: 0 / 430.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003953/0.1026, allocations: 170.8 kB / 430.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.1027, allocations: 19.97 kB / 430.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.1028, allocations: 39.89 kB / 430.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.422e-05/0.1029, allocations: 39.89 kB / 430.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.103, allocations: 19.92 kB / 430.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.103, allocations: 31.86 kB / 430.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.1031, allocations: 23.91 kB / 430.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.1031, allocations: 0 / 430.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.878e-05/0.1032, allocations: 12 kB / 430.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.1033, allocations: 47.89 kB / 430.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.1033, allocations: 15.88 kB / 430.6 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.1035, allocations: 51.77 kB / 430.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1035, allocations: 0 / 430.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.1035, allocations: 3.938 kB / 430.7 MB, free: 1.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1035, allocations: 0 / 430.7 MB, free: 1.781 MB / 350.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.0004521/0.1039, allocations: 400.8 kB / 431.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.104, allocations: 8.031 kB / 431.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.104, allocations: 16.88 kB / 431.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1042, allocations: 195 kB / 431.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1042, allocations: 384 / 431.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1042, allocations: 384 / 431.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1044, allocations: 78.3 kB / 431.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1044, allocations: 3.938 kB / 431.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.1044, allocations: 0 / 431.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.1044, allocations: 0 / 431.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.824e-05/0.1044, allocations: 4 kB / 431.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.1047, allocations: 173.7 kB / 431.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.383e-05/0.1048, allocations: 18.56 kB / 431.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.1048, allocations: 12.92 kB / 431.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.1048, allocations: 0 / 431.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.1048, allocations: 68.19 kB / 431.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1048, allocations: 7.875 kB / 431.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.105, allocations: 45.59 kB / 431.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.1051, allocations: 158.2 kB / 431.8 MB, free: 396 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1052, allocations: 150.1 kB / 432 MB, free: 232 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1052, allocations: 25.83 kB / 432 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.1053, allocations: 104.1 kB / 432.1 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.1053, allocations: 0 / 432.1 MB, free: 92 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.1054, allocations: 17.67 kB / 432.1 MB, free: 68 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1055, allocations: 322.8 kB / 432.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.1055, allocations: 4 kB / 432.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.1056, allocations: 44.28 kB / 432.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.1056, allocations: 16.8 kB / 432.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1056, allocations: 0 / 432.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.079e-05/0.1057, allocations: 45.69 kB / 432.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1057, allocations: 11.94 kB / 432.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1057, allocations: 0 / 432.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1057, allocations: 0 / 432.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.653e-05/0.1057, allocations: 4 kB / 432.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.1057, allocations: 0 / 432.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.1058, allocations: 4.094 kB / 432.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.1058, allocations: 0 / 432.6 MB, free: 15.59 MB / 366.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 9.691e-05/0.1059, allocations: 129.8 kB / 432.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.1059, allocations: 11.89 kB / 432.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.106, allocations: 11.81 kB / 432.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.106, allocations: 0 / 432.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.106, allocations: 0 / 432.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.106, allocations: 3.984 kB / 432.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1062, allocations: 173.7 kB / 432.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1062, allocations: 4 kB / 432.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.1062, allocations: 7.984 kB / 432.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1062, allocations: 3.938 kB / 432.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.1062, allocations: 0 / 432.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1062, allocations: 0 / 432.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1062, allocations: 0 / 432.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.1063, allocations: 73.08 kB / 433 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.1064, allocations: 89.03 kB / 433.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1064, allocations: 8.031 kB / 433.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.59e-05/0.1065, allocations: 7.984 kB / 433.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-06/0.1065, allocations: 0 / 433.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.1065, allocations: 0 / 433.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.948e-05/0.1066, allocations: 125.6 kB / 433.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1066, allocations: 0 / 433.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001934/0.1068, allocations: 15.88 kB / 433.2 MB, free: 14.84 MB / 366.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.0003274/0.1071, allocations: 148.6 kB / 433.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.1072, allocations: 11.98 kB / 433.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1072, allocations: 0 / 433.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.199e-05/0.1072, allocations: 4 kB / 433.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.1073, allocations: 18.41 kB / 433.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.1076, allocations: 199.6 kB / 433.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1079, allocations: 0.6885 MB / 434.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.108, allocations: 19.42 kB / 434.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.108, allocations: 0 / 434.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of Templates: time 0.003217/0.1112, allocations: 1.414 MB / 435.7 MB, free: 12.32 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.280413134023547]