Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001825/0.001825, allocations: 79.27 kB / 20.52 MB, free: 1.281 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.001491/0.001491, allocations: 164.1 kB / 23.76 MB, free: 4.465 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.549/1.549, allocations: 158.6 MB / 185.5 MB, free: 6.219 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.2277/0.2277, allocations: 32.39 MB / 270.1 MB, free: 2.699 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [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.002317/0.002317, allocations: 67.91 kB / 407.8 MB, free: 5.484 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1378, allocations: 61.04 MB / 468.9 MB, free: 8.246 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003539/0.1413, allocations: 1.692 MB / 470.5 MB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.1438, allocations: 1.466 MB / 472 MB, free: 5.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.1439, allocations: 0 / 472 MB, free: 5.066 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1442, allocations: 39.77 kB / 472 MB, free: 5.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.1445, allocations: 59.77 kB / 472.1 MB, free: 4.969 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.1447, allocations: 87.75 kB / 472.2 MB, free: 4.883 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1449, allocations: 103.7 kB / 472.3 MB, free: 4.781 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.145, allocations: 12.16 kB / 472.3 MB, free: 4.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.1451, allocations: 39.86 kB / 472.3 MB, free: 4.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1453, allocations: 43.77 kB / 472.4 MB, free: 4.688 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1453, allocations: 7.938 kB / 472.4 MB, free: 4.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.1454, allocations: 63.97 kB / 472.5 MB, free: 4.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.1455, allocations: 23.84 kB / 472.5 MB, free: 4.594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.1455, allocations: 23.88 kB / 472.5 MB, free: 4.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1458, allocations: 139.5 kB / 472.6 MB, free: 4.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1458, allocations: 0 / 472.6 MB, free: 4.434 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1458, allocations: 0 / 472.6 MB, free: 4.434 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1458, allocations: 0 / 472.6 MB, free: 4.434 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006268/0.1464, allocations: 341.6 kB / 473 MB, free: 4.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1465, allocations: 12.03 kB / 473 MB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.1465, allocations: 8.891 kB / 473 MB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.1468, allocations: 150.8 kB / 473.1 MB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1469, allocations: 7.938 kB / 473.1 MB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.1469, allocations: 4 kB / 473.2 MB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1471, allocations: 109.1 kB / 473.3 MB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1471, allocations: 0 / 473.3 MB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1471, allocations: 4 kB / 473.3 MB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1471, allocations: 0 / 473.3 MB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1473, allocations: 31.97 kB / 473.3 MB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.1477, allocations: 248.4 kB / 473.5 MB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1479, allocations: 70.73 kB / 473.6 MB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.1479, allocations: 24.84 kB / 473.6 MB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.148, allocations: 8 kB / 473.6 MB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.1481, allocations: 71.38 kB / 473.7 MB, free: 3.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1481, allocations: 0 / 473.7 MB, free: 3.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006276/0.1488, allocations: 217.2 kB / 473.9 MB, free: 3.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1488, allocations: 81.11 kB / 474 MB, free: 2.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.149, allocations: 174.3 kB / 474.2 MB, free: 2.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.149, allocations: 29.7 kB / 474.2 MB, free: 2.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.1491, allocations: 92.14 kB / 474.3 MB, free: 2.609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1491, allocations: 27.78 kB / 474.3 MB, free: 2.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.1492, allocations: 25.72 kB / 474.3 MB, free: 2.551 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1493, allocations: 326.8 kB / 474.7 MB, free: 2.223 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.1494, allocations: 27.98 kB / 474.7 MB, free: 2.195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1495, allocations: 80.19 kB / 474.8 MB, free: 2.102 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1497, allocations: 89.59 kB / 474.9 MB, free: 2.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1497, allocations: 0 / 474.9 MB, free: 2.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002177/0.1499, allocations: 113.5 kB / 475 MB, free: 1.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1499, allocations: 8 kB / 475 MB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1499, allocations: 0 / 475 MB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1499, allocations: 4.062 kB / 475 MB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1501, allocations: 27.92 kB / 475 MB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1501, allocations: 0 / 475 MB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.1501, allocations: 4 kB / 475 MB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1501, allocations: 4 kB / 475 MB, free: 1.844 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 (11): * Single equations (assignments): 11 * 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.0001269/0.1503, allocations: 125.8 kB / 475.1 MB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.1503, allocations: 11.95 kB / 475.1 MB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.1506, allocations: 134.4 kB / 475.3 MB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1506, allocations: 3.938 kB / 475.3 MB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1506, allocations: 0 / 475.3 MB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1506, allocations: 4 kB / 475.3 MB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.1511, allocations: 374.8 kB / 475.6 MB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.1511, allocations: 3.984 kB / 475.7 MB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.1512, allocations: 12 kB / 475.7 MB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.1512, allocations: 7.922 kB / 475.7 MB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1512, allocations: 12 kB / 475.7 MB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1512, allocations: 0 / 475.7 MB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1512, allocations: 0 / 475.7 MB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.1515, allocations: 228.5 kB / 475.9 MB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.1515, allocations: 23.81 kB / 475.9 MB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1516, allocations: 7.984 kB / 475.9 MB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.1516, allocations: 4 kB / 475.9 MB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.1517, allocations: 11.98 kB / 476 MB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1517, allocations: 4 kB / 476 MB, free: 0.8203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1518, allocations: 123.2 kB / 476.1 MB, free: 0.6992 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1518, allocations: 0 / 476.1 MB, free: 0.6992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.1521, allocations: 35.92 kB / 476.1 MB, free: 0.6641 MB / 446.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 (11): * Single equations (assignments): 9 * 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.002117/0.1542, allocations: 0.532 MB / 476.6 MB, free: 148 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1545, allocations: 71.89 kB / 476.7 MB, free: 76 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1545, allocations: 4.062 kB / 476.7 MB, free: 72 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.629e-05/0.1546, allocations: 39.92 kB / 476.8 MB, free: 32 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2254/0.38, allocations: 32.97 kB / 476.8 MB, free: 50.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005514/0.3805, allocations: 217.3 kB / 477 MB, free: 50.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.3806, allocations: 89.58 kB / 477.1 MB, free: 49.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.785e-05/0.3807, allocations: 17.28 kB / 477.1 MB, free: 49.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.3807, allocations: 29.8 kB / 477.1 MB, free: 49.94 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3807, allocations: 0 / 477.1 MB, free: 49.94 MB / 446.1 MB Notification: Performance of Templates: time 0.004949/0.3857, allocations: 2.21 MB / 479.3 MB, free: 49.81 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.36740757105872]