Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, 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.00144/0.00144, 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.337/1.337, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.1987/0.1987, allocations: 44.17 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.28 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00333/0.1283, allocations: 1.699 MB / 471.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1299, allocations: 0.8847 MB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.13, allocations: 0 / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.1303, allocations: 55.75 kB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.1306, allocations: 59.69 kB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.1309, allocations: 111.3 kB / 472.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.1311, allocations: 95.7 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1312, allocations: 12.23 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.536e-05/0.1313, allocations: 39.78 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.1314, allocations: 39.78 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.1314, allocations: 4 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.1315, allocations: 32 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.1316, allocations: 31.89 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.1317, allocations: 43.62 kB / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.1319, allocations: 131.8 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1319, allocations: 4 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1319, allocations: 0 / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.132, allocations: 0 / 473.2 MB, free: 11.13 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.0006071/0.1326, allocations: 442.7 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1326, allocations: 8.031 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.1327, allocations: 16.75 kB / 473.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1329, allocations: 213 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.133, allocations: 4.375 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.133, allocations: 12.03 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1332, allocations: 53.66 kB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1332, allocations: 4 kB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1332, allocations: 8 kB / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1332, allocations: 0 / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.1333, allocations: 27.86 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.1337, allocations: 288.9 kB / 474.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1339, allocations: 58.66 kB / 474.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.134, allocations: 24.84 kB / 474.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.134, allocations: 4 kB / 474.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.1343, allocations: 71.33 kB / 474.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1343, allocations: 0 / 474.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005869/0.1349, allocations: 192.9 kB / 474.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1349, allocations: 51.41 kB / 474.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1352, allocations: 275.8 kB / 474.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1352, allocations: 29.64 kB / 474.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.1353, allocations: 116.1 kB / 475 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1354, allocations: 27.64 kB / 475 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.1354, allocations: 21.72 kB / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1356, allocations: 330.8 kB / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.1357, allocations: 19.98 kB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.1357, allocations: 37.7 kB / 475.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1359, allocations: 65.64 kB / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1359, allocations: 0 / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.1361, allocations: 105.5 kB / 475.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1361, allocations: 4 kB / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1361, allocations: 0 / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1361, allocations: 0 / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/0.1362, allocations: 27.95 kB / 475.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1362, allocations: 0 / 475.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.1363, allocations: 11.94 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.1363, allocations: 0 / 475.7 MB, free: 8.395 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.0001145/0.1364, allocations: 133.8 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.1365, allocations: 15.81 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.1365, allocations: 21.39 kB / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1365, allocations: 0 / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1365, allocations: 0 / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1365, allocations: 11.94 kB / 475.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.137, allocations: 399.3 kB / 476.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.137, allocations: 0 / 476.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.1371, allocations: 11.94 kB / 476.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1371, allocations: 3.938 kB / 476.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1371, allocations: 11.92 kB / 476.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1371, allocations: 0 / 476.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1371, allocations: 0 / 476.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1374, allocations: 208.2 kB / 476.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1374, allocations: 89.3 kB / 476.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1375, allocations: 7.938 kB / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.1375, allocations: 8 kB / 476.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.1376, allocations: 7.984 kB / 476.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1376, allocations: 4 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.1378, allocations: 209.7 kB / 476.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1378, allocations: 0 / 476.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1381, allocations: 31.94 kB / 476.8 MB, free: 7.141 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.00107/0.1391, allocations: 460.3 kB / 477.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1394, allocations: 59.91 kB / 477.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1394, allocations: 3.938 kB / 477.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.1394, allocations: 31.98 kB / 477.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1398, allocations: 24.3 kB / 477.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.1404, allocations: 337.4 kB / 477.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.1408, allocations: 0.7236 MB / 478.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.1408, allocations: 15.44 kB / 478.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1408, allocations: 0 / 478.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of Templates: time 0.004013/0.1449, allocations: 2.084 MB / 480.5 MB, free: 3.543 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches