Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.001505/0.001505, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001796/0.001796, allocations: 207.8 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2233/0.2233, allocations: 44.27 MB / 331.1 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 74.7 kB / 468.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1166, allocations: 61.04 MB / 0.5174 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003621/0.1202, allocations: 1.641 MB / 0.519 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1216, allocations: 0.7573 MB / 0.5198 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.08e-05/0.1217, allocations: 3.938 kB / 0.5198 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.122, allocations: 51.8 kB / 0.5198 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.1223, allocations: 59.75 kB / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1225, allocations: 91.78 kB / 0.52 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1227, allocations: 99.61 kB / 0.5201 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.1227, allocations: 7.984 kB / 0.5201 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.1228, allocations: 39.8 kB / 0.5201 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1229, allocations: 47.81 kB / 0.5202 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1229, allocations: 4 kB / 0.5202 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.99e-05/0.123, allocations: 24 kB / 0.5202 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.1231, allocations: 19.91 kB / 0.5202 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.1231, allocations: 23.81 kB / 0.5202 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1233, allocations: 111.5 kB / 0.5203 GB, free: 3.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1233, allocations: 4 kB / 0.5203 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1233, allocations: 0 / 0.5203 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1234, allocations: 0 / 0.5203 GB, free: 3.605 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005687/0.1239, allocations: 321.8 kB / 0.5206 GB, free: 3.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.124, allocations: 8.031 kB / 0.5207 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.124, allocations: 8.891 kB / 0.5207 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.1243, allocations: 146.2 kB / 0.5208 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1243, allocations: 4.375 kB / 0.5208 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.1243, allocations: 4.125 kB / 0.5208 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1245, allocations: 57.55 kB / 0.5209 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.1245, allocations: 4 kB / 0.5209 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1245, allocations: 0 / 0.5209 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1245, allocations: 0 / 0.5209 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.398e-05/0.1246, allocations: 15.98 kB / 0.5209 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1248, allocations: 129.3 kB / 0.521 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.1249, allocations: 50.61 kB / 0.5211 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.125, allocations: 16.86 kB / 0.5211 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.125, allocations: 3.984 kB / 0.5211 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.1252, allocations: 79.22 kB / 0.5212 GB, free: 2.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 4.628e-06/0.1252, allocations: 7.984 kB / 0.5212 GB, free: 2.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003158/0.1255, allocations: 89.62 kB / 0.5212 GB, free: 2.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.1255, allocations: 55.41 kB / 0.5213 GB, free: 2.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1258, allocations: 174.2 kB / 0.5215 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1258, allocations: 29.7 kB / 0.5215 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.1258, allocations: 96.14 kB / 0.5216 GB, free: 2.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.1259, allocations: 23.77 kB / 0.5216 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.1259, allocations: 17.72 kB / 0.5216 GB, free: 2.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1261, allocations: 322.8 kB / 0.5219 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.1262, allocations: 19.98 kB / 0.5219 GB, free: 1.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.1262, allocations: 33.7 kB / 0.522 GB, free: 1.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1263, allocations: 41.95 kB / 0.522 GB, free: 1.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1263, allocations: 4 kB / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001762/0.1265, allocations: 89.5 kB / 0.5221 GB, free: 1.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1265, allocations: 4 kB / 0.5221 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1265, allocations: 4 kB / 0.5221 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1266, allocations: 0 / 0.5221 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.1267, allocations: 12.03 kB / 0.5221 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1267, allocations: 0 / 0.5221 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.1267, allocations: 7.984 kB / 0.5221 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1267, allocations: 4.156 kB / 0.5221 GB, free: 1.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001329/0.1268, allocations: 121.8 kB / 0.5223 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1269, allocations: 23.78 kB / 0.5223 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.1271, allocations: 94.05 kB / 0.5224 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1271, allocations: 0 / 0.5224 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1271, allocations: 4 kB / 0.5224 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1271, allocations: 3.938 kB / 0.5224 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.1273, allocations: 129.3 kB / 0.5225 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1273, allocations: 0 / 0.5225 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.1273, allocations: 8 kB / 0.5225 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1273, allocations: 3.938 kB / 0.5225 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1273, allocations: 0 / 0.5225 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1273, allocations: 3.984 kB / 0.5225 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.1273, allocations: 3.938 kB / 0.5225 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.1275, allocations: 113.1 kB / 0.5226 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.1276, allocations: 7.891 kB / 0.5226 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1276, allocations: 4.188 kB / 0.5226 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.1276, allocations: 12 kB / 0.5226 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.1277, allocations: 7.984 kB / 0.5227 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1277, allocations: 0 / 0.5227 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1278, allocations: 136.1 kB / 0.5228 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1278, allocations: 0 / 0.5228 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.128, allocations: 19.92 kB / 0.5228 GB, free: 0.8242 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001681/0.1297, allocations: 425.4 kB / 0.5232 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.1299, allocations: 43.86 kB / 0.5233 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1299, allocations: 64 / 0.5233 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.13, allocations: 23.98 kB / 0.5233 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.1303, allocations: 28.78 kB / 0.5233 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.1308, allocations: 235.3 kB / 0.5235 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.115e-05/0.1309, allocations: 75.89 kB / 0.5236 GB, free: 0 / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.1309, allocations: 19.44 kB / 0.5236 GB, free: 15.98 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1309, allocations: 0 / 0.5236 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Templates: time 0.003822/0.1347, allocations: 1.687 MB / 0.5253 GB, free: 14.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.801668033003807]