Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001784/0.001784, allocations: 124.3 kB / 17.79 MB, free: 5.227 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.001539/0.001539, allocations: 203.3 kB / 20.74 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2548/0.2548, allocations: 46.91 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.91 kB / 0.4915 GB, free: 7.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1341, allocations: 66 MB / 0.5559 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003196/0.1373, allocations: 1.731 MB / 0.5576 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1391, allocations: 1.034 MB / 0.5586 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.119e-05/0.1392, allocations: 3.938 kB / 0.5586 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.1396, allocations: 43.81 kB / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.14, allocations: 99.53 kB / 0.5588 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.1402, allocations: 75.67 kB / 0.5589 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1404, allocations: 107.7 kB / 0.559 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1405, allocations: 15.98 kB / 0.559 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1407, allocations: 43.78 kB / 0.559 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.1408, allocations: 39.78 kB / 0.5591 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1408, allocations: 4 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1409, allocations: 43.98 kB / 0.5591 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.141, allocations: 23.91 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.141, allocations: 35.69 kB / 0.5592 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.1413, allocations: 119.5 kB / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1413, allocations: 0 / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1413, allocations: 0 / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.1413, allocations: 4 kB / 0.5593 GB, free: 1.789 MB / 414.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.0007318/0.142, allocations: 434.5 kB / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1421, allocations: 8.031 kB / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.1421, allocations: 12.89 kB / 0.5597 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1424, allocations: 212.1 kB / 0.5599 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1425, allocations: 384 / 0.5599 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.1425, allocations: 16.11 kB / 0.5599 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1427, allocations: 49.67 kB / 0.56 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1427, allocations: 4 kB / 0.56 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1427, allocations: 4 kB / 0.56 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1427, allocations: 0 / 0.56 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1428, allocations: 23.92 kB / 0.56 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.1433, allocations: 288.8 kB / 0.5603 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1434, allocations: 58.67 kB / 0.5603 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.1435, allocations: 16.86 kB / 0.5604 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1435, allocations: 0 / 0.5604 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1437, allocations: 71.33 kB / 0.5604 GB, free: 460 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1437, allocations: 0 / 0.5604 GB, free: 460 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006104/0.1443, allocations: 181.5 kB / 0.5606 GB, free: 272 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1444, allocations: 55.41 kB / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.1446, allocations: 214.1 kB / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1446, allocations: 29.7 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.1447, allocations: 104.1 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.1447, allocations: 23.8 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.1448, allocations: 21.72 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1449, allocations: 334.8 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.145, allocations: 20 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.1451, allocations: 37.7 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1452, allocations: 61.64 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1452, allocations: 0 / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002116/0.1454, allocations: 105.6 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1454, allocations: 8 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1454, allocations: 3.984 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1455, allocations: 0 / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1456, allocations: 19.97 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1456, allocations: 4 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.1456, allocations: 3.938 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1456, allocations: 4 kB / 0.5616 GB, free: 15.17 MB / 430.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.000128/0.1457, allocations: 129.8 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.1458, allocations: 15.91 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.1458, allocations: 17.39 kB / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1458, allocations: 3.984 kB / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1458, allocations: 8 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1459, allocations: 3.938 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.1464, allocations: 395.3 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1464, allocations: 0 / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.1464, allocations: 11.94 kB / 0.5622 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1464, allocations: 0 / 0.5622 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1464, allocations: 7.938 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1465, allocations: 4 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1465, allocations: 0 / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.1467, allocations: 204.3 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.1468, allocations: 89.05 kB / 0.5624 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1468, allocations: 7.938 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.1469, allocations: 4 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.147, allocations: 7.984 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.147, allocations: 3.938 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.1472, allocations: 168.3 kB / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1472, allocations: 0 / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.1475, allocations: 24.12 kB / 0.5627 GB, free: 13.98 MB / 430.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.001856/0.1493, allocations: 468.5 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.1495, allocations: 55.91 kB / 0.5632 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1495, allocations: 0 / 0.5632 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.1496, allocations: 27.98 kB / 0.5632 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.15, allocations: 26.55 kB / 0.5632 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.1506, allocations: 250.7 kB / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.151, allocations: 0.7158 MB / 0.5641 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.622e-05/0.151, allocations: 8.891 kB / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.1511, allocations: 23.42 kB / 0.5642 GB, free: 12.55 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1511, allocations: 0 / 0.5642 GB, free: 12.55 MB / 430.1 MB Notification: Performance of Templates: time 0.005314/0.1564, allocations: 1.748 MB / 0.5659 GB, free: 10.81 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.33940551802516]