Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001621/0.001621, allocations: 110.5 kB / 18.44 MB, free: 4.695 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.001816/0.001816, allocations: 190.9 kB / 21.38 MB, free: 1.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 247.1 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4361/0.4361, allocations: 44.25 MB / 343.5 MB, free: 7.605 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 73.8 kB / 479.4 MB, free: 24.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1273, allocations: 60.82 MB / 0.5276 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004139/0.1315, allocations: 1.699 MB / 0.5292 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1331, allocations: 0.8807 MB / 0.5301 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.936e-05/0.1332, allocations: 7.938 kB / 0.5301 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.1335, allocations: 43.81 kB / 0.5301 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.1338, allocations: 55.69 kB / 0.5302 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.1341, allocations: 103.7 kB / 0.5303 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1343, allocations: 99.67 kB / 0.5304 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.1344, allocations: 8.234 kB / 0.5304 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1345, allocations: 43.73 kB / 0.5304 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.1346, allocations: 35.78 kB / 0.5305 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1346, allocations: 8 kB / 0.5305 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1348, allocations: 39.98 kB / 0.5305 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1349, allocations: 19.92 kB / 0.5305 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.1349, allocations: 35.73 kB / 0.5306 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.1352, allocations: 115.5 kB / 0.5307 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1352, allocations: 0 / 0.5307 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1352, allocations: 0 / 0.5307 GB, free: 9.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1352, allocations: 0 / 0.5307 GB, free: 9.895 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005725/0.1358, allocations: 426.5 kB / 0.5311 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1358, allocations: 16.03 kB / 0.5311 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.1359, allocations: 8.891 kB / 0.5311 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.1362, allocations: 216.8 kB / 0.5313 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1362, allocations: 384 / 0.5313 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1362, allocations: 8.125 kB / 0.5313 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1364, allocations: 53.67 kB / 0.5314 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1364, allocations: 0 / 0.5314 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1364, allocations: 0 / 0.5314 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1364, allocations: 0 / 0.5314 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.1365, allocations: 27.92 kB / 0.5314 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.1369, allocations: 284.9 kB / 0.5317 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1371, allocations: 54.67 kB / 0.5317 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.1371, allocations: 20.86 kB / 0.5317 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1372, allocations: 4 kB / 0.5317 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.1373, allocations: 75.31 kB / 0.5318 GB, free: 8.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1373, allocations: 0 / 0.5318 GB, free: 8.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005424/0.1379, allocations: 177.3 kB / 0.532 GB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.1379, allocations: 55.41 kB / 0.532 GB, free: 8.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.1381, allocations: 195.3 kB / 0.5322 GB, free: 8.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1382, allocations: 29.7 kB / 0.5323 GB, free: 8.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.1382, allocations: 108.1 kB / 0.5324 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1383, allocations: 23.78 kB / 0.5324 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.1383, allocations: 21.72 kB / 0.5324 GB, free: 7.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1385, allocations: 330.8 kB / 0.5327 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.1386, allocations: 23.92 kB / 0.5327 GB, free: 7.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.1386, allocations: 37.64 kB / 0.5328 GB, free: 7.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1388, allocations: 69.64 kB / 0.5328 GB, free: 7.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1388, allocations: 0 / 0.5328 GB, free: 7.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001934/0.139, allocations: 97.53 kB / 0.5329 GB, free: 7.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.139, allocations: 9.562 kB / 0.5329 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.139, allocations: 0 / 0.5329 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.139, allocations: 0 / 0.5329 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.1391, allocations: 19.98 kB / 0.533 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.1391, allocations: 160 / 0.533 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.1392, allocations: 7.938 kB / 0.533 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.1392, allocations: 8.031 kB / 0.533 GB, free: 7.293 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 (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 0.0001122/0.1393, allocations: 127.8 kB / 0.5331 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.1394, allocations: 19.89 kB / 0.5331 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.1394, allocations: 17.39 kB / 0.5331 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1394, allocations: 0 / 0.5331 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1394, allocations: 0 / 0.5331 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1395, allocations: 7.922 kB / 0.5331 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.1399, allocations: 395.3 kB / 0.5335 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1399, allocations: 0 / 0.5335 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.14, allocations: 11.94 kB / 0.5335 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.14, allocations: 4 kB / 0.5335 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.14, allocations: 4.312 kB / 0.5335 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.14, allocations: 0 / 0.5335 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.14, allocations: 3.984 kB / 0.5335 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.1403, allocations: 212.3 kB / 0.5337 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.1403, allocations: 85.06 kB / 0.5338 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.1404, allocations: 7.938 kB / 0.5338 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.1404, allocations: 0 / 0.5338 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.1405, allocations: 11.98 kB / 0.5338 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1405, allocations: 7.938 kB / 0.5339 GB, free: 6.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1407, allocations: 152.9 kB / 0.534 GB, free: 6.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.1407, allocations: 0 / 0.534 GB, free: 6.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1409, allocations: 27.88 kB / 0.534 GB, free: 6.109 MB / 398.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.001723/0.1427, allocations: 464.1 kB / 0.5345 GB, free: 5.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1429, allocations: 55.92 kB / 0.5345 GB, free: 5.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1429, allocations: 4.062 kB / 0.5345 GB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.143, allocations: 27.98 kB / 0.5346 GB, free: 5.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1433, allocations: 30.56 kB / 0.5346 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.1438, allocations: 231.1 kB / 0.5348 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1441, allocations: 0.7078 MB / 0.5355 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.984e-05/0.1442, allocations: 25.23 kB / 0.5355 GB, free: 4.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.1442, allocations: 15.44 kB / 0.5355 GB, free: 4.691 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.1442, allocations: 0 / 0.5355 GB, free: 4.691 MB / 398.1 MB Notification: Performance of Templates: time 0.004916/0.1492, allocations: 1.708 MB / 0.5372 GB, free: 3 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.240654211491346]