Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.002261/0.002261, allocations: 105.7 kB / 18.32 MB, free: 3.984 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.002746/0.002746, allocations: 186 kB / 21.49 MB, free: 0.8242 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.795/1.795, allocations: 207.6 MB / 232.1 MB, free: 3.188 MB / 174.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.3962/0.3962, allocations: 44.23 MB / 328.4 MB, free: 6.199 MB / 254.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.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(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 73.98 kB / 465.6 MB, free: 45.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1316, allocations: 61.01 MB / 0.5143 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00286/0.1345, allocations: 1.713 MB / 0.5159 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.136, allocations: 0.8267 MB / 0.5168 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1361, allocations: 1.375 kB / 0.5168 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005068/0.1366, allocations: 89.17 kB / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.1369, allocations: 73.09 kB / 0.5169 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1372, allocations: 89.08 kB / 0.517 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1374, allocations: 114.6 kB / 0.5171 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1375, allocations: 8.219 kB / 0.5171 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.1376, allocations: 43.84 kB / 0.5172 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.1377, allocations: 71.73 kB / 0.5172 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1377, allocations: 4 kB / 0.5172 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.1378, allocations: 43.97 kB / 0.5173 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.1379, allocations: 23.92 kB / 0.5173 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.1379, allocations: 31.75 kB / 0.5173 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.1382, allocations: 115.5 kB / 0.5174 GB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1382, allocations: 4 kB / 0.5174 GB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1382, allocations: 0 / 0.5174 GB, free: 9.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1382, allocations: 3.984 kB / 0.5174 GB, free: 9.953 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006102/0.1388, allocations: 422.6 kB / 0.5178 GB, free: 9.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.1388, allocations: 23.83 kB / 0.5179 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.1389, allocations: 12.84 kB / 0.5179 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.1393, allocations: 208.7 kB / 0.5181 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1393, allocations: 4.359 kB / 0.5181 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.1393, allocations: 8.125 kB / 0.5181 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1395, allocations: 61.61 kB / 0.5181 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1395, allocations: 0 / 0.5181 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1395, allocations: 0 / 0.5181 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1396, allocations: 0 / 0.5181 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.667e-05/0.1396, allocations: 19.98 kB / 0.5182 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.14, allocations: 292.8 kB / 0.5184 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1402, allocations: 58.61 kB / 0.5185 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.1402, allocations: 16.86 kB / 0.5185 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1402, allocations: 0 / 0.5185 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.1404, allocations: 67.39 kB / 0.5186 GB, free: 8.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.1404, allocations: 3.984 kB / 0.5186 GB, free: 8.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005081/0.1409, allocations: 185.5 kB / 0.5188 GB, free: 8.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1409, allocations: 55.41 kB / 0.5188 GB, free: 8.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1411, allocations: 219.1 kB / 0.519 GB, free: 8.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1411, allocations: 25.7 kB / 0.5191 GB, free: 8.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.1411, allocations: 104.1 kB / 0.5191 GB, free: 8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.1411, allocations: 27.78 kB / 0.5192 GB, free: 7.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.1412, allocations: 21.72 kB / 0.5192 GB, free: 7.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.1412, allocations: 334.8 kB / 0.5195 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.214e-05/0.1413, allocations: 20 kB / 0.5195 GB, free: 7.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.1413, allocations: 45.52 kB / 0.5196 GB, free: 7.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.1414, allocations: 61.7 kB / 0.5196 GB, free: 7.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1414, allocations: 0 / 0.5196 GB, free: 7.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001436/0.1416, allocations: 101.6 kB / 0.5197 GB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1416, allocations: 8 kB / 0.5197 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1416, allocations: 4.031 kB / 0.5197 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1416, allocations: 3.984 kB / 0.5197 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.1417, allocations: 12 kB / 0.5198 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1417, allocations: 0 / 0.5198 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.1418, allocations: 11.94 kB / 0.5198 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1418, allocations: 4 kB / 0.5198 GB, free: 7.324 MB / 382.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 (10): * Single equations (assignments): 10 * 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 7.678e-05/0.1418, allocations: 129.8 kB / 0.5199 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.1419, allocations: 11.95 kB / 0.5199 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.1421, allocations: 119 kB / 0.52 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1421, allocations: 4 kB / 0.52 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1421, allocations: 0 / 0.52 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1421, allocations: 3.938 kB / 0.52 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.1424, allocations: 391.3 kB / 0.5204 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1424, allocations: 0 / 0.5204 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.1424, allocations: 8 kB / 0.5204 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1424, allocations: 0 / 0.5204 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1424, allocations: 11.94 kB / 0.5204 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1424, allocations: 4.031 kB / 0.5204 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1424, allocations: 3.938 kB / 0.5204 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1426, allocations: 204.3 kB / 0.5206 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.1426, allocations: 85.06 kB / 0.5207 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.1426, allocations: 7.938 kB / 0.5207 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.1427, allocations: 4 kB / 0.5207 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.1427, allocations: 11.98 kB / 0.5207 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1427, allocations: 4 kB / 0.5207 GB, free: 6.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.856e-05/0.1428, allocations: 159.2 kB / 0.5209 GB, free: 6.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1428, allocations: 0 / 0.5209 GB, free: 6.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1431, allocations: 23.94 kB / 0.5209 GB, free: 6.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.00162/0.1447, allocations: 486.8 kB / 0.5214 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1449, allocations: 47.98 kB / 0.5214 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1449, allocations: 0 / 0.5214 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.437e-05/0.145, allocations: 31.92 kB / 0.5215 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1453, allocations: 27.97 kB / 0.5215 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.1458, allocations: 262.8 kB / 0.5217 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.1459, allocations: 0.708 MB / 0.5224 GB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.672e-05/0.146, allocations: 12.88 kB / 0.5224 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.146, allocations: 15.44 kB / 0.5224 GB, free: 4.457 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.146, allocations: 4 kB / 0.5224 GB, free: 4.453 MB / 382.1 MB Notification: Performance of Templates: time 0.004486/0.1505, allocations: 1.728 MB / 0.5241 GB, free: 2.734 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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: 5.714667479507625]