Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001252/0.001252, allocations: 115.9 kB / 18.45 MB, free: 4.594 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.001231/0.001231, allocations: 189.3 kB / 21.39 MB, free: 1.664 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.512/1.512, allocations: 222.9 MB / 247.1 MB, free: 4.211 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.395/0.395, allocations: 44.26 MB / 343.5 MB, free: 7.582 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 74.45 kB / 479.4 MB, free: 24.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1426, allocations: 60.83 MB / 0.5276 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003431/0.1461, allocations: 1.697 MB / 0.5292 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1476, allocations: 0.8924 MB / 0.5301 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.1477, allocations: 0 / 0.5301 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.1481, allocations: 35.77 kB / 0.5301 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.1483, allocations: 59.75 kB / 0.5302 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1486, allocations: 107.6 kB / 0.5303 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1488, allocations: 91.69 kB / 0.5304 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1489, allocations: 20.22 kB / 0.5304 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/0.149, allocations: 43.77 kB / 0.5304 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.1491, allocations: 27.86 kB / 0.5305 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1491, allocations: 4 kB / 0.5305 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.1492, allocations: 47.91 kB / 0.5305 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.1493, allocations: 19.92 kB / 0.5305 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.1494, allocations: 31.75 kB / 0.5306 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.1496, allocations: 111.5 kB / 0.5307 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1496, allocations: 0 / 0.5307 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1496, allocations: 0 / 0.5307 GB, free: 9.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1496, allocations: 4 kB / 0.5307 GB, free: 9.891 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.0006245/0.1503, allocations: 420.6 kB / 0.5311 GB, free: 9.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1503, allocations: 8.031 kB / 0.5311 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.1504, allocations: 8.891 kB / 0.5311 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.1507, allocations: 217 kB / 0.5313 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1507, allocations: 4.375 kB / 0.5313 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.1507, allocations: 8.125 kB / 0.5313 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1509, allocations: 57.61 kB / 0.5314 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1509, allocations: 4 kB / 0.5314 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1509, allocations: 0 / 0.5314 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.151, allocations: 0 / 0.5314 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.151, allocations: 19.98 kB / 0.5314 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.1514, allocations: 288.8 kB / 0.5317 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1516, allocations: 58.69 kB / 0.5317 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.1517, allocations: 20.84 kB / 0.5317 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1517, allocations: 4 kB / 0.5318 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.1519, allocations: 67.33 kB / 0.5318 GB, free: 8.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1519, allocations: 3.938 kB / 0.5318 GB, free: 8.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005622/0.1525, allocations: 169.4 kB / 0.532 GB, free: 8.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1525, allocations: 59.34 kB / 0.532 GB, free: 8.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1527, allocations: 190.2 kB / 0.5322 GB, free: 8.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1527, allocations: 25.7 kB / 0.5322 GB, free: 8.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.1528, allocations: 104.1 kB / 0.5323 GB, free: 7.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.1529, allocations: 23.78 kB / 0.5324 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.1529, allocations: 25.72 kB / 0.5324 GB, free: 7.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1531, allocations: 326.8 kB / 0.5327 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.1532, allocations: 23.98 kB / 0.5327 GB, free: 7.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.141e-05/0.1533, allocations: 37.7 kB / 0.5328 GB, free: 7.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1534, allocations: 57.64 kB / 0.5328 GB, free: 7.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1534, allocations: 4 kB / 0.5328 GB, free: 7.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.1536, allocations: 97.59 kB / 0.5329 GB, free: 7.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1536, allocations: 5.562 kB / 0.5329 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1536, allocations: 0 / 0.5329 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1536, allocations: 4 kB / 0.5329 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1538, allocations: 23.95 kB / 0.5329 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1538, allocations: 0 / 0.5329 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.1538, allocations: 7.938 kB / 0.533 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1538, allocations: 384 / 0.533 GB, free: 7.328 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.0001095/0.154, allocations: 129.8 kB / 0.5331 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.154, allocations: 11.91 kB / 0.5331 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.154, allocations: 16.7 kB / 0.5331 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.154, allocations: 4 kB / 0.5331 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.1541, allocations: 8 kB / 0.5331 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1541, allocations: 7.875 kB / 0.5331 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.1546, allocations: 387.3 kB / 0.5335 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1546, allocations: 0 / 0.5335 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.1546, allocations: 11.98 kB / 0.5335 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1546, allocations: 4 kB / 0.5335 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1546, allocations: 3.938 kB / 0.5335 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1546, allocations: 3.984 kB / 0.5335 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.1547, allocations: 3.938 kB / 0.5335 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1549, allocations: 204.6 kB / 0.5337 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.155, allocations: 89.02 kB / 0.5338 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.155, allocations: 8.125 kB / 0.5338 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.1551, allocations: 4 kB / 0.5338 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1551, allocations: 11.92 kB / 0.5338 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.1552, allocations: 4 kB / 0.5338 GB, free: 6.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1553, allocations: 147.2 kB / 0.534 GB, free: 6.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1553, allocations: 0 / 0.534 GB, free: 6.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1556, allocations: 20 kB / 0.534 GB, free: 6.164 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.001699/0.1573, allocations: 472.7 kB / 0.5344 GB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1575, allocations: 59.95 kB / 0.5345 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1575, allocations: 0 / 0.5345 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.1576, allocations: 31.92 kB / 0.5345 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1579, allocations: 23.17 kB / 0.5345 GB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.1584, allocations: 227.3 kB / 0.5348 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1588, allocations: 0.7039 MB / 0.5354 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.677e-05/0.1588, allocations: 13.19 kB / 0.5355 GB, free: 4.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.1589, allocations: 19.42 kB / 0.5355 GB, free: 4.754 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1589, allocations: 0 / 0.5355 GB, free: 4.754 MB / 398.1 MB Notification: Performance of Templates: time 0.005151/0.164, allocations: 1.716 MB / 0.5372 GB, free: 3.051 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.095990674570203]