Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.001584/0.001584, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.002127/0.002127, allocations: 166.5 kB / 23.76 MB, free: 4.461 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.621/1.621, allocations: 158.6 MB / 185.5 MB, free: 6.207 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.311/0.311, allocations: 32.38 MB / 270.1 MB, free: 2.703 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.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [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.002382/0.002382, allocations: 63.91 kB / 407.8 MB, free: 5.484 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1335, allocations: 61.05 MB / 468.9 MB, free: 8.242 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004115/0.1376, allocations: 1.637 MB / 470.5 MB, free: 6.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1393, allocations: 0.7649 MB / 471.3 MB, free: 5.816 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1394, allocations: 4 kB / 471.3 MB, free: 5.812 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.1398, allocations: 59.8 kB / 471.3 MB, free: 5.754 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.1402, allocations: 75.67 kB / 471.4 MB, free: 5.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.1405, allocations: 75.77 kB / 471.5 MB, free: 5.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1407, allocations: 95.69 kB / 471.6 MB, free: 5.512 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.406e-05/0.1408, allocations: 8 kB / 471.6 MB, free: 5.504 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1409, allocations: 47.77 kB / 471.6 MB, free: 5.457 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1411, allocations: 47.83 kB / 471.7 MB, free: 5.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1411, allocations: 4 kB / 471.7 MB, free: 5.406 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1413, allocations: 35.98 kB / 471.7 MB, free: 5.371 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.1413, allocations: 19.86 kB / 471.7 MB, free: 5.352 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.009e-05/0.1414, allocations: 23.81 kB / 471.7 MB, free: 5.328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.1418, allocations: 99.56 kB / 471.8 MB, free: 5.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.1418, allocations: 0 / 471.8 MB, free: 5.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1418, allocations: 0 / 471.8 MB, free: 5.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1418, allocations: 7.938 kB / 471.9 MB, free: 5.223 MB / 446.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.0008472/0.1427, allocations: 329.7 kB / 472.2 MB, free: 4.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.1427, allocations: 12.03 kB / 472.2 MB, free: 4.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.522e-05/0.1428, allocations: 8.891 kB / 472.2 MB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.1433, allocations: 146.3 kB / 472.3 MB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.1433, allocations: 12.31 kB / 472.4 MB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1434, allocations: 4.125 kB / 472.4 MB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.1436, allocations: 53.67 kB / 472.4 MB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1436, allocations: 0 / 472.4 MB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1436, allocations: 0 / 472.4 MB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1436, allocations: 4 kB / 472.4 MB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1437, allocations: 15.98 kB / 472.4 MB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.1441, allocations: 125.3 kB / 472.6 MB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.1443, allocations: 58.55 kB / 472.6 MB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.55e-05/0.1444, allocations: 20.84 kB / 472.6 MB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1444, allocations: 0 / 472.6 MB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.1447, allocations: 63.33 kB / 472.7 MB, free: 4.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.1447, allocations: 4 kB / 472.7 MB, free: 4.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003816/0.145, allocations: 105.6 kB / 472.8 MB, free: 4.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.1451, allocations: 59.33 kB / 472.9 MB, free: 4.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.1455, allocations: 182.3 kB / 473 MB, free: 3.902 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.1455, allocations: 25.7 kB / 473.1 MB, free: 3.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.1457, allocations: 100.1 kB / 473.2 MB, free: 3.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.1457, allocations: 19.84 kB / 473.2 MB, free: 3.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1458, allocations: 21.7 kB / 473.2 MB, free: 3.723 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.146, allocations: 322.8 kB / 473.5 MB, free: 3.398 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.1461, allocations: 15.94 kB / 473.5 MB, free: 3.383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1462, allocations: 33.69 kB / 473.6 MB, free: 3.344 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1463, allocations: 49.7 kB / 473.6 MB, free: 3.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1463, allocations: 0 / 473.6 MB, free: 3.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002069/0.1465, allocations: 85.52 kB / 473.7 MB, free: 3.199 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.1466, allocations: 11.98 kB / 473.7 MB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1466, allocations: 0 / 473.7 MB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1466, allocations: 0 / 473.7 MB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.1467, allocations: 8 kB / 473.7 MB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1467, allocations: 7.938 kB / 473.7 MB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.1468, allocations: 4.344 kB / 473.7 MB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1468, allocations: 4 kB / 473.7 MB, free: 3.164 MB / 446.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.000172/0.1469, allocations: 121.8 kB / 473.8 MB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.147, allocations: 19.78 kB / 473.9 MB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.1472, allocations: 102.1 kB / 474 MB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1472, allocations: 0 / 474 MB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1472, allocations: 0 / 474 MB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1472, allocations: 0 / 474 MB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.1474, allocations: 129.3 kB / 474.1 MB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1474, allocations: 0 / 474.1 MB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.1474, allocations: 15.94 kB / 474.1 MB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1474, allocations: 7.938 kB / 474.1 MB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1474, allocations: 0 / 474.1 MB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1474, allocations: 0 / 474.1 MB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1474, allocations: 3.984 kB / 474.1 MB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1477, allocations: 117 kB / 474.2 MB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.1477, allocations: 11.84 kB / 474.2 MB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.1477, allocations: 4 kB / 474.2 MB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.1478, allocations: 0 / 474.2 MB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1478, allocations: 11.98 kB / 474.3 MB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1478, allocations: 0 / 474.3 MB, free: 2.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.148, allocations: 152 kB / 474.4 MB, free: 2.418 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.148, allocations: 0 / 474.4 MB, free: 2.418 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1482, allocations: 23.94 kB / 474.4 MB, free: 2.395 MB / 446.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.001818/0.15, allocations: 435.1 kB / 474.9 MB, free: 1.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1502, allocations: 43.98 kB / 474.9 MB, free: 1.934 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1502, allocations: 0 / 474.9 MB, free: 1.934 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.1503, allocations: 23.92 kB / 474.9 MB, free: 1.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1507, allocations: 32.03 kB / 475 MB, free: 1.879 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.1513, allocations: 205.8 kB / 475.2 MB, free: 1.652 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.1514, allocations: 83.31 kB / 475.2 MB, free: 1.551 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.263e-05/0.1514, allocations: 8.5 kB / 475.2 MB, free: 1.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.1515, allocations: 20.48 kB / 475.3 MB, free: 1.52 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1515, allocations: 0 / 475.3 MB, free: 1.52 MB / 446.1 MB Notification: Performance of Templates: time 0.2477/0.3992, allocations: 1.581 MB / 476.8 MB, free: 50.13 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.610701152938418]