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.001246/0.001246, allocations: 124 kB / 18.46 MB, free: 4.574 MB / 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.001456/0.001456, allocations: 213.6 kB / 21.42 MB, free: 1.621 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.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.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.001681/0.001681, allocations: 43.94 kB / 374.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1033, allocations: 53.33 MB / 427.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002022/0.1053, allocations: 0.5283 MB / 428 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.1084, allocations: 1.859 MB / 429.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.1084, allocations: 4 kB / 429.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004702/0.1131, allocations: 162.8 kB / 430 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.1132, allocations: 27.91 kB / 430 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1134, allocations: 47.88 kB / 430.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.1135, allocations: 47.83 kB / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.1136, allocations: 8 kB / 430.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.305e-05/0.1137, allocations: 31.86 kB / 430.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.1138, allocations: 23.84 kB / 430.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1138, allocations: 0 / 430.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.867e-05/0.1138, allocations: 19.98 kB / 430.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.1139, allocations: 43.89 kB / 430.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.114, allocations: 19.88 kB / 430.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1142, allocations: 43.77 kB / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1142, allocations: 4 kB / 430.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1142, allocations: 4 kB / 430.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1142, allocations: 0 / 430.3 MB, free: 1.461 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.0005164/0.1147, allocations: 400.8 kB / 430.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1148, allocations: 8.031 kB / 430.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.1148, allocations: 8.891 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.115, allocations: 196.3 kB / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.115, allocations: 384 / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1151, allocations: 384 / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1152, allocations: 82.23 kB / 431 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1152, allocations: 0 / 431 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1152, allocations: 3.984 kB / 431 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1153, allocations: 0 / 431 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.1153, allocations: 4 kB / 431 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.1156, allocations: 169.7 kB / 431.2 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.386e-05/0.1157, allocations: 26.52 kB / 431.2 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.1157, allocations: 8.922 kB / 431.2 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.1157, allocations: 0 / 431.2 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.1157, allocations: 60.2 kB / 431.3 MB, free: 332 kB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1157, allocations: 0 / 431.3 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001481/0.1159, allocations: 57.52 kB / 431.3 MB, free: 268 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.116, allocations: 154.2 kB / 431.5 MB, free: 76 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1162, allocations: 155.8 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1162, allocations: 29.7 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.1163, allocations: 92.14 kB / 431.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.1163, allocations: 0 / 431.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.1163, allocations: 25.66 kB / 431.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1165, allocations: 318.8 kB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.1165, allocations: 3.984 kB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.969e-05/0.1166, allocations: 44.3 kB / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.1166, allocations: 16.84 kB / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1166, allocations: 0 / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.44e-05/0.1167, allocations: 45.64 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1167, allocations: 11.88 kB / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1167, allocations: 0 / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1167, allocations: 4 kB / 432.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.295e-05/0.1167, allocations: 8.094 kB / 432.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1168, allocations: 0 / 432.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.1168, allocations: 7.984 kB / 432.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-06/0.1168, allocations: 0 / 432.2 MB, free: 15.27 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 0.0001147/0.1169, allocations: 125.8 kB / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.117, allocations: 15.89 kB / 432.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.117, allocations: 7.875 kB / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.117, allocations: 0 / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.117, allocations: 0 / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.117, allocations: 4 kB / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.1172, allocations: 173.7 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1172, allocations: 0 / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.1172, allocations: 0 / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1172, allocations: 3.938 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1173, allocations: 0 / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1173, allocations: 4 kB / 432.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1173, allocations: 0 / 432.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.1174, allocations: 77.05 kB / 432.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.1175, allocations: 101 kB / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1175, allocations: 0 / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.236e-05/0.1176, allocations: 3.938 kB / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.1176, allocations: 4 kB / 432.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1176, allocations: 0 / 432.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1177, allocations: 120.6 kB / 432.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1177, allocations: 0 / 432.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.1179, allocations: 15.92 kB / 432.9 MB, free: 14.52 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.0003707/0.1183, allocations: 142.9 kB / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.893e-05/0.1184, allocations: 15.94 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1184, allocations: 8.047 kB / 433 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.708e-06/0.1184, allocations: 4 kB / 433 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.1185, allocations: 13.56 kB / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.1189, allocations: 199.6 kB / 433.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1193, allocations: 0.6885 MB / 433.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.1193, allocations: 11.44 kB / 433.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1193, allocations: 0 / 433.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of Templates: time 0.003718/0.123, allocations: 1.413 MB / 435.4 MB, free: 12.01 MB / 366.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 -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: 7.222328299016226]