Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 105.1 kB / 16.94 MB, free: 5.793 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.001181/0.001181, allocations: 191.3 kB / 17.86 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.213/0.213, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 72.38 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.12, allocations: 57.78 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003204/0.1233, allocations: 1.702 MB / 442.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1245, allocations: 0.7922 MB / 443.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.373e-05/0.1246, allocations: 0 / 443.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.1249, allocations: 87.77 kB / 443.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1252, allocations: 79.66 kB / 443.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.1255, allocations: 79.77 kB / 443.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1256, allocations: 111.7 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1257, allocations: 12.5 kB / 444 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.892e-05/0.1258, allocations: 51.78 kB / 444.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.791e-05/0.1259, allocations: 55.81 kB / 444.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.126, allocations: 7.938 kB / 444.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.1261, allocations: 43.98 kB / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.1261, allocations: 19.92 kB / 444.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.1262, allocations: 39.73 kB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1264, allocations: 115.6 kB / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1264, allocations: 0 / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1264, allocations: 0 / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1264, allocations: 0 / 444.4 MB, free: 3.703 MB / 318.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.0005037/0.1269, allocations: 418.9 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.127, allocations: 11.89 kB / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.127, allocations: 16.75 kB / 444.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1272, allocations: 216 kB / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1272, allocations: 384 / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1273, allocations: 8.125 kB / 445 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1274, allocations: 53.67 kB / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1275, allocations: 0 / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1275, allocations: 0 / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1275, allocations: 4 kB / 445.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/0.1276, allocations: 19.98 kB / 445.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.1279, allocations: 292.7 kB / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1281, allocations: 58.67 kB / 445.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.1281, allocations: 24.84 kB / 445.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1281, allocations: 7.938 kB / 445.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.1284, allocations: 67.33 kB / 445.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.435e-06/0.1284, allocations: 0 / 445.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005199/0.1289, allocations: 173.5 kB / 445.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.129, allocations: 59.34 kB / 445.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.1291, allocations: 207.6 kB / 446 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1291, allocations: 29.7 kB / 446 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.1292, allocations: 112.1 kB / 446.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.1292, allocations: 23.66 kB / 446.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.1292, allocations: 21.7 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.1293, allocations: 330.8 kB / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.265e-05/0.1294, allocations: 19.98 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.1294, allocations: 37.7 kB / 446.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.596e-05/0.1295, allocations: 65.72 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1295, allocations: 0 / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001518/0.1297, allocations: 101.5 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1297, allocations: 4 kB / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1297, allocations: 0 / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1297, allocations: 0 / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-05/0.1298, allocations: 19.94 kB / 446.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1298, allocations: 3.984 kB / 446.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.1299, allocations: 11.97 kB / 446.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1299, allocations: 7.984 kB / 446.8 MB, free: 1.09 MB / 318.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 7.855e-05/0.13, allocations: 133.8 kB / 446.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.13, allocations: 7.906 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.1301, allocations: 17.41 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1301, allocations: 0 / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1301, allocations: 0 / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.1301, allocations: 3.938 kB / 446.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.1305, allocations: 403.2 kB / 447.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1305, allocations: 0 / 447.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.1305, allocations: 8 kB / 447.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1305, allocations: 4 kB / 447.3 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1305, allocations: 3.938 kB / 447.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1305, allocations: 3.938 kB / 447.3 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1305, allocations: 0 / 447.3 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1307, allocations: 212.5 kB / 447.5 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.1308, allocations: 84.92 kB / 447.6 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1308, allocations: 11.88 kB / 447.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.1309, allocations: 3.938 kB / 447.6 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.1309, allocations: 11.98 kB / 447.6 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1309, allocations: 4 kB / 447.6 MB, free: 88 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1311, allocations: 155.2 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1311, allocations: 4 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1313, allocations: 27.98 kB / 447.8 MB, free: 15.9 MB / 334.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.001174/0.1325, allocations: 474.2 kB / 448.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1327, allocations: 59.92 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1328, allocations: 0 / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.294e-05/0.1328, allocations: 27.98 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1332, allocations: 31.97 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005552/0.1338, allocations: 272.8 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1341, allocations: 0.7118 MB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.1342, allocations: 19.42 kB / 449.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1342, allocations: 3.938 kB / 449.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of Templates: time 0.004188/0.1384, allocations: 1.951 MB / 451.4 MB, free: 12.4 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches