Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001216, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001048/0.001048, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.386/1.386, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2301/0.2301, allocations: 44.18 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 73.25 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003335/0.121, allocations: 1.703 MB / 471.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1225, allocations: 0.8886 MB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.594e-05/0.1226, allocations: 0 / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1229, allocations: 51.75 kB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.1232, allocations: 47.77 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.1236, allocations: 119.6 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1237, allocations: 91.7 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.1238, allocations: 8.234 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.915e-05/0.1239, allocations: 47.77 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.124, allocations: 27.86 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.124, allocations: 0 / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1242, allocations: 47.91 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.1242, allocations: 19.92 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.1243, allocations: 35.75 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1245, allocations: 127.8 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1245, allocations: 0 / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1245, allocations: 0 / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1245, allocations: 0 / 473.1 MB, free: 11.17 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.0006216/0.1252, allocations: 418.9 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1252, allocations: 8.031 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.1253, allocations: 16.73 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1255, allocations: 212 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.1255, allocations: 12.38 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1256, allocations: 12.09 kB / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1257, allocations: 53.67 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1258, allocations: 0 / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1258, allocations: 4 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1258, allocations: 0 / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.1259, allocations: 15.98 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.1263, allocations: 300.7 kB / 474.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.1265, allocations: 58.67 kB / 474.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.1266, allocations: 16.86 kB / 474.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1266, allocations: 4 kB / 474.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.1268, allocations: 71.33 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.1268, allocations: 0 / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006918/0.1275, allocations: 169.2 kB / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1276, allocations: 63.34 kB / 474.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.1278, allocations: 222.7 kB / 474.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1278, allocations: 25.7 kB / 474.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.1279, allocations: 112 kB / 474.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.128, allocations: 27.64 kB / 474.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.128, allocations: 21.72 kB / 474.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1281, allocations: 334.7 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.057e-05/0.1282, allocations: 23.98 kB / 475.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.1283, allocations: 37.7 kB / 475.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1284, allocations: 54.03 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1284, allocations: 0 / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001912/0.1286, allocations: 109.6 kB / 475.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1286, allocations: 4 kB / 475.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1286, allocations: 4 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1287, allocations: 0 / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.1287, allocations: 23.92 kB / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1288, allocations: 0 / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.1288, allocations: 7.938 kB / 475.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1288, allocations: 0 / 475.5 MB, free: 8.539 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 9.607e-05/0.1289, allocations: 130.9 kB / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.129, allocations: 19.84 kB / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.129, allocations: 17.34 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.129, allocations: 4 kB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.129, allocations: 0 / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.129, allocations: 7.922 kB / 475.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.1295, allocations: 391.3 kB / 476.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1295, allocations: 0 / 476.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.1296, allocations: 12.03 kB / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1296, allocations: 4 kB / 476.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1296, allocations: 11.92 kB / 476.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1296, allocations: 0 / 476.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1296, allocations: 3.938 kB / 476.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.1299, allocations: 200.2 kB / 476.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.13, allocations: 89.02 kB / 476.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.13, allocations: 11.94 kB / 476.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.1301, allocations: 3.984 kB / 476.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.1301, allocations: 4 kB / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1302, allocations: 8 kB / 476.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1303, allocations: 171.2 kB / 476.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1303, allocations: 0 / 476.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1306, allocations: 24 kB / 476.6 MB, free: 7.344 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.001061/0.1317, allocations: 473.2 kB / 477.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1319, allocations: 55.97 kB / 477.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1319, allocations: 0 / 477.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.132, allocations: 31.92 kB / 477.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1323, allocations: 36.36 kB / 477.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.1328, allocations: 296.4 kB / 477.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1331, allocations: 0.708 MB / 478.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.1331, allocations: 19.42 kB / 478.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1331, allocations: 7.938 kB / 478.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of Templates: time 0.003881/0.137, allocations: 1.958 MB / 480.2 MB, free: 3.902 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches