Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001358/0.001358, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.377/1.377, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.213/0.213, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 65.02 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1255, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004183/0.1298, allocations: 1.716 MB / 471.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1316, allocations: 0.8769 MB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1317, allocations: 8 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.1321, allocations: 91.67 kB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.1325, allocations: 79.66 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.1329, allocations: 107.3 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1331, allocations: 115.7 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1332, allocations: 19.92 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1334, allocations: 59.77 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1335, allocations: 67.69 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1336, allocations: 4 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.1338, allocations: 59.97 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.1338, allocations: 23.92 kB / 473.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.1339, allocations: 39.73 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.1342, allocations: 135.8 kB / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1342, allocations: 0 / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1342, allocations: 0 / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1343, allocations: 0 / 473.3 MB, free: 10.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006528/0.1349, allocations: 434.9 kB / 473.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.135, allocations: 12.02 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.135, allocations: 16.75 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.1353, allocations: 208.1 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1353, allocations: 8.297 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1354, allocations: 8.125 kB / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1355, allocations: 57.67 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1356, allocations: 3.906 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1356, allocations: 8 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1356, allocations: 0 / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.021e-05/0.1357, allocations: 23.92 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.1361, allocations: 300.8 kB / 474.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1364, allocations: 62.55 kB / 474.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.1365, allocations: 24.97 kB / 474.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1365, allocations: 7.938 kB / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.1368, allocations: 63.39 kB / 474.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.1368, allocations: 4 kB / 474.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008549/0.1376, allocations: 241.1 kB / 474.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1377, allocations: 55.34 kB / 474.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1379, allocations: 223.5 kB / 475 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1379, allocations: 33.7 kB / 475.1 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.138, allocations: 112 kB / 475.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.1381, allocations: 35.56 kB / 475.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.1381, allocations: 25.7 kB / 475.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1383, allocations: 326.8 kB / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.481e-05/0.1384, allocations: 23.98 kB / 475.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.1385, allocations: 57.58 kB / 475.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1386, allocations: 81.75 kB / 475.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1386, allocations: 0 / 475.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002494/0.1389, allocations: 129.4 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1389, allocations: 4 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1389, allocations: 7.938 kB / 475.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.139, allocations: 4 kB / 475.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.1391, allocations: 24.02 kB / 475.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1391, allocations: 3.938 kB / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.1391, allocations: 4 kB / 475.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.1392, allocations: 8 kB / 475.9 MB, free: 8.133 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 (13): * Single equations (assignments): 13 * 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.0001289/0.1393, allocations: 133.8 kB / 476 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.1393, allocations: 19.75 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.1394, allocations: 13.41 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1394, allocations: 4 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1394, allocations: 7.922 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1394, allocations: 4 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.14, allocations: 448 kB / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.14, allocations: 4 kB / 476.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.1401, allocations: 15.98 kB / 476.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1401, allocations: 0 / 476.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1401, allocations: 4 kB / 476.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1401, allocations: 4.062 kB / 476.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1401, allocations: 0 / 476.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.1404, allocations: 236.9 kB / 476.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.1405, allocations: 85.02 kB / 476.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.1405, allocations: 8 kB / 476.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.1406, allocations: 4 kB / 476.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.1406, allocations: 19.92 kB / 476.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.1407, allocations: 4 kB / 476.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1408, allocations: 171.5 kB / 477.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1408, allocations: 0 / 477.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.1411, allocations: 31.91 kB / 477.1 MB, free: 6.828 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001286/0.1424, allocations: 0.5005 MB / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.1427, allocations: 91.84 kB / 477.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1427, allocations: 0 / 477.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.882e-05/0.1428, allocations: 43.86 kB / 477.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.1432, allocations: 35.41 kB / 477.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.1438, allocations: 314.5 kB / 478.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.1442, allocations: 0.7271 MB / 478.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.1442, allocations: 19.44 kB / 478.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1442, allocations: 0 / 478.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of Templates: time 0.004884/0.1491, allocations: 2.206 MB / 481 MB, free: 3.055 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches