Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001561/0.001561, allocations: 187 kB / 19.34 MB, free: 3.641 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.358/1.358, allocations: 222.9 MB / 243 MB, free: 15.08 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.2073/0.2073, allocations: 44.17 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 68.45 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1177, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003271/0.121, allocations: 1.878 MB / 472.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1226, allocations: 0.986 MB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.714e-05/0.1227, allocations: 4 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.1232, allocations: 255.3 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.1236, allocations: 191.4 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.1241, allocations: 179.5 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.1244, allocations: 247.4 kB / 474.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1245, allocations: 37.66 kB / 474.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1247, allocations: 131.5 kB / 474.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1249, allocations: 175.5 kB / 474.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.125, allocations: 11.94 kB / 474.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1251, allocations: 63.92 kB / 474.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-05/0.1252, allocations: 67.75 kB / 474.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.1253, allocations: 91.3 kB / 475 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.1256, allocations: 247 kB / 475.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1256, allocations: 0 / 475.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1256, allocations: 0 / 475.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1256, allocations: 0 / 475.3 MB, free: 9.094 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007378/0.1264, allocations: 0.568 MB / 475.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1264, allocations: 12.02 kB / 475.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.1265, allocations: 32.56 kB / 475.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.1269, allocations: 284 kB / 476.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1269, allocations: 16.36 kB / 476.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1269, allocations: 12.12 kB / 476.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1272, allocations: 107.3 kB / 476.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1272, allocations: 0 / 476.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1272, allocations: 4 kB / 476.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.1273, allocations: 8 kB / 476.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.1274, allocations: 43.91 kB / 476.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.1279, allocations: 484.7 kB / 476.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.1283, allocations: 121.2 kB / 476.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1284, allocations: 49.81 kB / 477 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1285, allocations: 0 / 477 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.1287, allocations: 120.1 kB / 477.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.1287, allocations: 0 / 477.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001276/0.13, allocations: 0.5084 MB / 477.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.1301, allocations: 81.11 kB / 477.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.1305, allocations: 477.7 kB / 478.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1306, allocations: 33.7 kB / 478.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/0.1307, allocations: 156.5 kB / 478.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/0.1307, allocations: 71 kB / 478.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.1308, allocations: 41.7 kB / 478.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1309, allocations: 354.8 kB / 478.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1311, allocations: 55.92 kB / 478.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1312, allocations: 95.33 kB / 478.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.1315, allocations: 163.5 kB / 479.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1315, allocations: 0 / 479.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003928/0.1319, allocations: 233.1 kB / 479.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1319, allocations: 11.94 kB / 479.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1319, allocations: 0 / 479.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.132, allocations: 4 kB / 479.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1321, allocations: 39.92 kB / 479.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1321, allocations: 7.938 kB / 479.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.318e-05/0.1322, allocations: 12.05 kB / 479.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1322, allocations: 8 kB / 479.4 MB, free: 4.664 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001548/0.1324, allocations: 181.7 kB / 479.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.1325, allocations: 43.47 kB / 479.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.1325, allocations: 42.81 kB / 479.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1326, allocations: 0 / 479.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1326, allocations: 3.984 kB / 479.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1326, allocations: 4 kB / 479.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.1335, allocations: 0.7272 MB / 480.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1335, allocations: 7.984 kB / 480.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.021e-05/0.1336, allocations: 24 kB / 480.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1336, allocations: 0 / 480.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1336, allocations: 11.98 kB / 480.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1337, allocations: 4 kB / 480.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1337, allocations: 8.062 kB / 480.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.1341, allocations: 417.7 kB / 480.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1342, allocations: 104.7 kB / 481 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.1343, allocations: 8 kB / 481 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.1344, allocations: 11.98 kB / 481 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.1345, allocations: 27.8 kB / 481 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.1345, allocations: 12 kB / 481 MB, free: 2.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003155/0.1349, allocations: 359.1 kB / 481.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1349, allocations: 0 / 481.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003739/0.1352, allocations: 51.98 kB / 481.4 MB, free: 2.512 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001142/0.1364, allocations: 0.5103 MB / 481.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.1368, allocations: 167.8 kB / 482.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1368, allocations: 0 / 482.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.137, allocations: 83.78 kB / 482.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.1375, allocations: 68.5 kB / 482.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008968/0.1384, allocations: 0.5824 MB / 482.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.1388, allocations: 0.7831 MB / 483.6 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.1389, allocations: 37.92 kB / 483.6 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.48e-05/0.139, allocations: 35.42 kB / 483.7 MB, free: 400 kB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.139, allocations: 0 / 483.7 MB, free: 400 kB / 350.1 MB Notification: Performance of Templates: time 0.006426/0.1454, allocations: 3.127 MB / 486.8 MB, free: 13.29 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches