Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.0009806/0.0009806, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.407/1.407, allocations: 222.9 MB / 242.5 MB, free: 13.75 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.2196/0.2196, allocations: 44.17 MB / 336.8 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.67 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003061/0.1238, allocations: 1.757 MB / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1252, allocations: 0.8654 MB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.1253, allocations: 3.938 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.1256, allocations: 51.81 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.1258, allocations: 55.81 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.126, allocations: 95.14 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.1262, allocations: 95.69 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.1263, allocations: 12.22 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.686e-05/0.1264, allocations: 47.73 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.1265, allocations: 35.83 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1265, allocations: 4 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.406e-05/0.1266, allocations: 32 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.1267, allocations: 31.84 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.1267, allocations: 39.62 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1269, allocations: 100.1 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1269, allocations: 0 / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1269, allocations: 0 / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1269, allocations: 0 / 472.4 MB, free: 11.59 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.0005661/0.1275, allocations: 438.8 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1275, allocations: 12.03 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.1276, allocations: 12.75 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1278, allocations: 216 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1278, allocations: 384 / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.1279, allocations: 12.12 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.128, allocations: 57.55 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.128, allocations: 0 / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.128, allocations: 4 kB / 473.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.128, allocations: 4 kB / 473.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.1281, allocations: 19.98 kB / 473.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.1285, allocations: 292.9 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1287, allocations: 58.62 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.1287, allocations: 24.84 kB / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1287, allocations: 4 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1289, allocations: 67.38 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.129, allocations: 0 / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005413/0.1295, allocations: 189 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1295, allocations: 51.41 kB / 473.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.1298, allocations: 266.9 kB / 474.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1298, allocations: 25.7 kB / 474.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.1299, allocations: 112.1 kB / 474.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1299, allocations: 23.7 kB / 474.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.13, allocations: 25.72 kB / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1301, allocations: 326.8 kB / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.1301, allocations: 23.98 kB / 474.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.1302, allocations: 41.58 kB / 474.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1303, allocations: 61.7 kB / 474.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1303, allocations: 0 / 474.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.1305, allocations: 109.8 kB / 474.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1306, allocations: 4 kB / 474.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1306, allocations: 0 / 474.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1306, allocations: 0 / 474.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.1307, allocations: 23.98 kB / 474.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1307, allocations: 4.031 kB / 474.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1307, allocations: 3.938 kB / 474.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1308, allocations: 8 kB / 474.9 MB, free: 8.879 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.0001062/0.1309, allocations: 145.2 kB / 475 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.1309, allocations: 19.81 kB / 475 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.131, allocations: 17.39 kB / 475 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.131, allocations: 4 kB / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.131, allocations: 0 / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.131, allocations: 7.875 kB / 475.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.1314, allocations: 403.3 kB / 475.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1314, allocations: 0 / 475.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.1315, allocations: 8 kB / 475.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1315, allocations: 0 / 475.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1315, allocations: 11.94 kB / 475.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1315, allocations: 0 / 475.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1315, allocations: 3.984 kB / 475.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.1317, allocations: 208.2 kB / 475.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.1318, allocations: 88.92 kB / 475.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1318, allocations: 7.938 kB / 475.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.1319, allocations: 0 / 475.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.1319, allocations: 7.984 kB / 475.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.132, allocations: 4 kB / 475.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.1321, allocations: 200.2 kB / 476 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1321, allocations: 4 kB / 476 MB, free: 7.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1324, allocations: 27.98 kB / 476 MB, free: 7.633 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.001065/0.1335, allocations: 464 kB / 476.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.1336, allocations: 63.91 kB / 476.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1337, allocations: 0 / 476.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.726e-05/0.1337, allocations: 24 kB / 476.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1341, allocations: 23.97 kB / 476.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.1346, allocations: 339.3 kB / 476.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1349, allocations: 0.716 MB / 477.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.1349, allocations: 19.44 kB / 477.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1349, allocations: 0 / 477.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Templates: time 0.003525/0.1385, allocations: 2.053 MB / 479.7 MB, free: 4.07 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches