Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001505, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 242.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 44.17 MB / 336.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 68.67 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1401, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003698/0.1439, allocations: 1.752 MB / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1455, allocations: 0.8731 MB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1456, allocations: 0 / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.146, allocations: 35.89 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.1463, allocations: 47.83 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.1466, allocations: 95.77 kB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1468, allocations: 99.67 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.147, allocations: 8.234 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.1471, allocations: 39.8 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1472, allocations: 35.83 kB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1473, allocations: 0 / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1474, allocations: 39.92 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.177e-05/0.1475, allocations: 19.92 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.1476, allocations: 39.73 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.1478, allocations: 88.11 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1478, allocations: 0 / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1478, allocations: 0 / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1478, allocations: 0 / 472.4 MB, free: 11.62 MB / 350.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.0006195/0.1485, allocations: 414.9 kB / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1485, allocations: 8.031 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.1486, allocations: 8.844 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1488, allocations: 216.7 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1489, allocations: 8.375 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1489, allocations: 4.125 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1491, allocations: 53.67 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1491, allocations: 0 / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1491, allocations: 0 / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.1491, allocations: 4 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.8e-05/0.1492, allocations: 19.98 kB / 473.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.1496, allocations: 296.7 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.1498, allocations: 58.67 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.1499, allocations: 16.86 kB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1499, allocations: 3.984 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.1502, allocations: 71.33 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1502, allocations: 4 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006062/0.1508, allocations: 177.2 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.1509, allocations: 55.34 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1511, allocations: 195.3 kB / 473.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1511, allocations: 33.7 kB / 474 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.1512, allocations: 100.1 kB / 474.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1512, allocations: 23.7 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.1513, allocations: 25.72 kB / 474.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1514, allocations: 330.8 kB / 474.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.1515, allocations: 19.92 kB / 474.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.1516, allocations: 37.7 kB / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.1517, allocations: 57.66 kB / 474.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1517, allocations: 0 / 474.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002061/0.1519, allocations: 113.6 kB / 474.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.152, allocations: 4 kB / 474.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.152, allocations: 384 / 474.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.152, allocations: 0 / 474.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.1521, allocations: 23.92 kB / 474.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1521, allocations: 0 / 474.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.265e-05/0.1522, allocations: 7.938 kB / 474.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1522, allocations: 4 kB / 474.7 MB, free: 9.035 MB / 350.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.0001141/0.1523, allocations: 129.8 kB / 474.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1523, allocations: 15.81 kB / 474.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.1524, allocations: 13.41 kB / 474.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1524, allocations: 4 kB / 474.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1524, allocations: 0 / 474.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1524, allocations: 7.922 kB / 474.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.1529, allocations: 391.3 kB / 475.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1529, allocations: 0 / 475.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.1529, allocations: 8 kB / 475.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.153, allocations: 4.031 kB / 475.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.153, allocations: 3.938 kB / 475.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.153, allocations: 4 kB / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.153, allocations: 3.938 kB / 475.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1532, allocations: 208.2 kB / 475.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.1533, allocations: 85.02 kB / 475.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.1533, allocations: 3.938 kB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.1534, allocations: 12 kB / 475.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.1535, allocations: 3.984 kB / 475.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1535, allocations: 4 kB / 475.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1536, allocations: 152.9 kB / 475.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1536, allocations: 0 / 475.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1539, allocations: 24 kB / 475.8 MB, free: 7.875 MB / 350.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.001125/0.1551, allocations: 478.1 kB / 476.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1553, allocations: 59.97 kB / 476.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1553, allocations: 0 / 476.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.74e-05/0.1554, allocations: 27.92 kB / 476.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.1557, allocations: 30.25 kB / 476.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.1563, allocations: 278.7 kB / 476.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1566, allocations: 0.7159 MB / 477.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.1567, allocations: 19.42 kB / 477.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1567, allocations: 0 / 477.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of Templates: time 0.004066/0.1608, allocations: 1.915 MB / 479.3 MB, free: 4.496 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches