Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001298/0.001298, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.316/1.316, allocations: 222.9 MB / 242.6 MB, free: 15.4 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.2117/0.2117, allocations: 44.17 MB / 336.9 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 68.69 kB / 408.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1226, allocations: 60.83 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00372/0.1263, allocations: 1.761 MB / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1279, allocations: 0.8654 MB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.128, allocations: 0 / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.1284, allocations: 35.88 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.1287, allocations: 47.78 kB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.129, allocations: 91.83 kB / 472.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1293, allocations: 103.7 kB / 472.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1294, allocations: 12.23 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.178e-05/0.1295, allocations: 35.8 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.1296, allocations: 43.77 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1296, allocations: 4 kB / 472.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1297, allocations: 43.98 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.1298, allocations: 23.86 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.743e-05/0.1299, allocations: 35.73 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1301, allocations: 88.09 kB / 472.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1301, allocations: 0 / 472.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1301, allocations: 4 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1301, allocations: 0 / 472.6 MB, free: 11.53 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.0005762/0.1307, allocations: 422.8 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1307, allocations: 8.031 kB / 473 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.1308, allocations: 8.844 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.131, allocations: 212.8 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.131, allocations: 8.359 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1311, allocations: 4.125 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1312, allocations: 57.67 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1313, allocations: 0 / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1313, allocations: 0 / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1313, allocations: 4 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.1314, allocations: 19.92 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.1319, allocations: 292.8 kB / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.132, allocations: 54.69 kB / 473.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.1321, allocations: 20.84 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1321, allocations: 0 / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.1324, allocations: 71.33 kB / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1324, allocations: 0 / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005797/0.133, allocations: 177.4 kB / 473.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.133, allocations: 55.41 kB / 474 MB, free: 9.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.1332, allocations: 191.3 kB / 474.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1333, allocations: 33.7 kB / 474.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.1333, allocations: 100.1 kB / 474.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.1334, allocations: 27.69 kB / 474.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.1334, allocations: 25.72 kB / 474.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1336, allocations: 330.8 kB / 474.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/0.1336, allocations: 15.98 kB / 474.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.1337, allocations: 41.83 kB / 474.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1338, allocations: 61.66 kB / 474.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1338, allocations: 3.938 kB / 474.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002218/0.134, allocations: 97.58 kB / 474.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1341, allocations: 4.188 kB / 474.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1341, allocations: 0 / 474.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1341, allocations: 7.969 kB / 474.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.1342, allocations: 27.92 kB / 474.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1342, allocations: 0 / 474.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.1343, allocations: 3.938 kB / 474.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1343, allocations: 4 kB / 474.9 MB, free: 8.945 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.0001101/0.1344, allocations: 129.8 kB / 475 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.1344, allocations: 11.81 kB / 475 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.1345, allocations: 13.41 kB / 475.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1345, allocations: 4 kB / 475.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1345, allocations: 4 kB / 475.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1345, allocations: 3.938 kB / 475.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1349, allocations: 395.3 kB / 475.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.135, allocations: 0 / 475.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.135, allocations: 11.94 kB / 475.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.135, allocations: 0 / 475.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.135, allocations: 3.938 kB / 475.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.135, allocations: 4 kB / 475.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.135, allocations: 4.031 kB / 475.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1353, allocations: 208.4 kB / 475.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.1353, allocations: 92.98 kB / 475.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1354, allocations: 3.938 kB / 475.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1355, allocations: 4 kB / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.1355, allocations: 7.984 kB / 475.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1355, allocations: 8 kB / 475.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1357, allocations: 152.9 kB / 476 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1357, allocations: 0 / 476 MB, free: 7.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.136, allocations: 24 kB / 476 MB, free: 7.777 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.001146/0.1371, allocations: 476.9 kB / 476.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1373, allocations: 67.89 kB / 476.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1373, allocations: 0 / 476.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.256e-05/0.1374, allocations: 23.98 kB / 476.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1378, allocations: 23.98 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.1383, allocations: 300.8 kB / 476.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1386, allocations: 0.7002 MB / 477.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.1387, allocations: 23.42 kB / 477.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1387, allocations: 0 / 477.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of Templates: time 0.0041/0.1428, allocations: 1.919 MB / 479.5 MB, free: 4.391 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches