Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001242/0.001242, allocations: 194 kB / 18.12 MB, free: 5.363 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.398/1.398, allocations: 222.9 MB / 241.8 MB, free: 13.87 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.2313/0.2313, allocations: 44.17 MB / 336.1 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.77 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003839/0.1284, allocations: 1.756 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.13, allocations: 0.8537 MB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1301, allocations: 4 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.1304, allocations: 35.83 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.1307, allocations: 59.7 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1311, allocations: 83.84 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1313, allocations: 95.73 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.1314, allocations: 4.234 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1315, allocations: 35.8 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.1316, allocations: 35.78 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1316, allocations: 0 / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1317, allocations: 43.98 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.1318, allocations: 19.92 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.1319, allocations: 39.72 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1321, allocations: 100 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.1322, allocations: 3.938 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1322, allocations: 0 / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1322, allocations: 0 / 471.7 MB, free: 11.66 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.0006703/0.1329, allocations: 407 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1329, allocations: 8.031 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.133, allocations: 12.84 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1333, allocations: 211.8 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1333, allocations: 384 / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.1333, allocations: 8.125 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1335, allocations: 53.67 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1335, allocations: 0 / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1335, allocations: 0 / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1335, allocations: 0 / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.677e-05/0.1336, allocations: 23.92 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.1341, allocations: 292.8 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.1343, allocations: 58.67 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.1343, allocations: 16.86 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1344, allocations: 3.984 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.1346, allocations: 83.23 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.438e-06/0.1346, allocations: 3.984 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006395/0.1353, allocations: 165.3 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.1353, allocations: 59.33 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.1355, allocations: 166.2 kB / 473.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1355, allocations: 33.7 kB / 473.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.1356, allocations: 96.14 kB / 473.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.1357, allocations: 31.64 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.1357, allocations: 17.72 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1358, allocations: 326.8 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.1359, allocations: 23.98 kB / 473.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.136, allocations: 37.64 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1361, allocations: 65.7 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1361, allocations: 4 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.1363, allocations: 97.5 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1363, allocations: 4 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1364, allocations: 4 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1364, allocations: 3.938 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.647e-05/0.1365, allocations: 15.98 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1365, allocations: 0 / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.1365, allocations: 7.938 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1366, allocations: 4 kB / 474 MB, free: 9.129 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.0001125/0.1367, allocations: 133.1 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.1367, allocations: 7.906 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.1368, allocations: 12.72 kB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1368, allocations: 0 / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1368, allocations: 0 / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1368, allocations: 7.922 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.1372, allocations: 391.3 kB / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1372, allocations: 4.031 kB / 474.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.1373, allocations: 11.94 kB / 474.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1373, allocations: 0 / 474.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1373, allocations: 7.938 kB / 474.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1373, allocations: 0 / 474.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1373, allocations: 384 / 474.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1375, allocations: 204.2 kB / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.1376, allocations: 93 kB / 474.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1376, allocations: 7.938 kB / 474.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.1377, allocations: 4 kB / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.1377, allocations: 11.92 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1378, allocations: 4 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1379, allocations: 132.9 kB / 475 MB, free: 8.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1379, allocations: 0 / 475 MB, free: 8.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1381, allocations: 31.92 kB / 475 MB, free: 7.98 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.00104/0.1392, allocations: 466.8 kB / 475.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.1394, allocations: 55.97 kB / 475.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1394, allocations: 0 / 475.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.1395, allocations: 35.98 kB / 475.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1399, allocations: 31.72 kB / 475.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.1403, allocations: 232.5 kB / 475.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1407, allocations: 0.7043 MB / 476.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.99e-05/0.1408, allocations: 12.83 kB / 476.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.1408, allocations: 19.42 kB / 476.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1408, allocations: 0 / 476.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of Templates: time 0.004667/0.1455, allocations: 1.628 MB / 478.2 MB, free: 4.945 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches