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.001318/0.001318, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 14.72 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.001446/0.001446, allocations: 168.9 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.415/1.415, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001547/0.001547, allocations: 55.67 kB / 325.5 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09494/0.09648, allocations: 53.33 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001721/0.09821, allocations: 0.5188 MB / 379.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1007, allocations: 1.913 MB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.1008, allocations: 0 / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.1027, allocations: 159.3 kB / 381.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.229e-05/0.1028, allocations: 27.91 kB / 381.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.103, allocations: 47.55 kB / 381.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.957e-05/0.1031, allocations: 43.78 kB / 381.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.1031, allocations: 8 kB / 381.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.075e-05/0.1032, allocations: 31.91 kB / 381.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.1033, allocations: 23.86 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1033, allocations: 4 kB / 381.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.576e-05/0.1033, allocations: 19.97 kB / 381.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.452e-05/0.1034, allocations: 47.91 kB / 381.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.1035, allocations: 11.88 kB / 381.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1037, allocations: 59.69 kB / 381.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1037, allocations: 0 / 381.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1037, allocations: 0 / 381.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1037, allocations: 0 / 381.8 MB, free: 12.81 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.0004151/0.1041, allocations: 307.8 kB / 382.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1041, allocations: 12.03 kB / 382.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.1042, allocations: 16.83 kB / 382.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.1043, allocations: 134.4 kB / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1044, allocations: 384 / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.1044, allocations: 4.375 kB / 382.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1046, allocations: 177 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1046, allocations: 4 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1046, allocations: 0 / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1046, allocations: 3.938 kB / 382.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.1046, allocations: 0 / 382.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.1049, allocations: 129.3 kB / 382.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.121e-05/0.1049, allocations: 26.52 kB / 382.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.105, allocations: 8.922 kB / 382.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.105, allocations: 0 / 382.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.105, allocations: 64.25 kB / 382.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.105, allocations: 0 / 382.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.1052, allocations: 49.58 kB / 382.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/0.1053, allocations: 162.2 kB / 382.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1054, allocations: 153.4 kB / 383 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1054, allocations: 25.7 kB / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.1055, allocations: 96.14 kB / 383.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.1055, allocations: 12.06 kB / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.1056, allocations: 17.72 kB / 383.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1057, allocations: 318.8 kB / 383.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.1057, allocations: 4 kB / 383.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1058, allocations: 147.1 kB / 383.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/0.1059, allocations: 16.86 kB / 383.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1059, allocations: 0 / 383.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.585e-05/0.1059, allocations: 41.64 kB / 383.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.106, allocations: 7.938 kB / 383.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.106, allocations: 4.031 kB / 383.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.106, allocations: 7.984 kB / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.817e-05/0.106, allocations: 4 kB / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.106, allocations: 0 / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.1061, allocations: 7.953 kB / 383.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1061, allocations: 0 / 383.7 MB, free: 10.6 MB / 350.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.0001258/0.1062, allocations: 129.8 kB / 383.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.1062, allocations: 4 kB / 383.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.1063, allocations: 15.78 kB / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1063, allocations: 0 / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1063, allocations: 0 / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1063, allocations: 4 kB / 383.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1064, allocations: 125.3 kB / 384 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1064, allocations: 0 / 384 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.1065, allocations: 4 kB / 384 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1065, allocations: 0 / 384 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1065, allocations: 4 kB / 384 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1065, allocations: 3.938 kB / 384 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1065, allocations: 0 / 384 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.1066, allocations: 77.02 kB / 384.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.1066, allocations: 16 kB / 384.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1066, allocations: 4 kB / 384.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.835e-05/0.1067, allocations: 7.938 kB / 384.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.1067, allocations: 0 / 384.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.1067, allocations: 0 / 384.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.893e-05/0.1068, allocations: 119.2 kB / 384.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1068, allocations: 0 / 384.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002065/0.107, allocations: 12 kB / 384.2 MB, free: 10.03 MB / 350.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.0003721/0.1074, allocations: 147 kB / 384.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.37e-05/0.1075, allocations: 8 kB / 384.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1075, allocations: 0 / 384.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.1075, allocations: 11.92 kB / 384.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.1076, allocations: 11.94 kB / 384.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.1081, allocations: 261.7 kB / 384.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.209e-05/0.1082, allocations: 100.7 kB / 384.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.1082, allocations: 11.98 kB / 384.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.1082, allocations: 16.5 kB / 384.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1082, allocations: 0 / 384.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of Templates: time 0.004217/0.1124, allocations: 1.087 MB / 385.9 MB, free: 8.398 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.110462273005396]