Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 108.4 kB / 17.98 MB, free: 5.355 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.001014/0.001014, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.341/1.341, allocations: 222.9 MB / 242.6 MB, free: 15.38 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.1946/0.1946, allocations: 44.17 MB / 336.9 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.58 kB / 408.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 60.82 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00311/0.1208, allocations: 1.761 MB / 471.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1222, allocations: 0.8576 MB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.1222, allocations: 4 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1226, allocations: 39.83 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1228, allocations: 43.83 kB / 472.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1231, allocations: 87.84 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1233, allocations: 103.7 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1234, allocations: 12.17 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.436e-05/0.1235, allocations: 39.8 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.1235, allocations: 39.77 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1236, allocations: 8 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1237, allocations: 36 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.1237, allocations: 19.92 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.1238, allocations: 31.8 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.124, allocations: 84.05 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.124, allocations: 4 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.124, allocations: 0 / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.124, allocations: 0 / 472.5 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.000556/0.1246, allocations: 407 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1246, allocations: 12.03 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.1247, allocations: 8.844 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1249, allocations: 209.8 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1249, allocations: 384 / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1249, allocations: 8.125 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1251, allocations: 53.67 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1251, allocations: 0 / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1251, allocations: 0 / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1251, allocations: 0 / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.1252, allocations: 23.92 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.1256, allocations: 288.8 kB / 473.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1258, allocations: 58.67 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.1259, allocations: 20.8 kB / 473.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1259, allocations: 0 / 473.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.1261, allocations: 79.33 kB / 473.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1261, allocations: 0 / 473.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006345/0.1268, allocations: 169.2 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1268, allocations: 51.41 kB / 473.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.127, allocations: 173.9 kB / 474.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1271, allocations: 33.7 kB / 474.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.1271, allocations: 92.14 kB / 474.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1272, allocations: 35.62 kB / 474.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.1272, allocations: 25.72 kB / 474.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1274, allocations: 326.8 kB / 474.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.1275, allocations: 23.98 kB / 474.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.1276, allocations: 37.64 kB / 474.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1277, allocations: 61.66 kB / 474.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1277, allocations: 0 / 474.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001952/0.1279, allocations: 101.5 kB / 474.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1279, allocations: 7.938 kB / 474.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.1279, allocations: 4 kB / 474.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.128, allocations: 0 / 474.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/0.1281, allocations: 15.98 kB / 474.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1281, allocations: 0 / 474.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.1281, allocations: 7.938 kB / 474.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1281, allocations: 4 kB / 474.8 MB, free: 9.008 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.0001243/0.1283, allocations: 133.8 kB / 475 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.1283, allocations: 7.906 kB / 475 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.1283, allocations: 12.72 kB / 475 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1284, allocations: 0 / 475 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1284, allocations: 0 / 475 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1284, allocations: 3.938 kB / 475 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.1288, allocations: 395.3 kB / 475.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1289, allocations: 0 / 475.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.1289, allocations: 15.92 kB / 475.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1289, allocations: 0 / 475.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1289, allocations: 7.938 kB / 475.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1289, allocations: 0 / 475.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1289, allocations: 3.938 kB / 475.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1292, allocations: 204.6 kB / 475.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.1292, allocations: 85.02 kB / 475.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1293, allocations: 7.922 kB / 475.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.1294, allocations: 4 kB / 475.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1294, allocations: 8 kB / 475.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1294, allocations: 7.984 kB / 475.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1296, allocations: 135 kB / 475.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1296, allocations: 0 / 475.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1298, allocations: 24 kB / 475.9 MB, free: 7.863 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.001124/0.131, allocations: 476.6 kB / 476.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.1312, allocations: 63.91 kB / 476.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1312, allocations: 4.062 kB / 476.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.321e-05/0.1312, allocations: 27.98 kB / 476.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1316, allocations: 23.98 kB / 476.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.1321, allocations: 276.4 kB / 476.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1325, allocations: 0.7002 MB / 477.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.1325, allocations: 15.44 kB / 477.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1325, allocations: 0 / 477.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of Templates: time 0.003857/0.1364, allocations: 1.88 MB / 479.3 MB, free: 4.543 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches