Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 105.2 kB / 16.27 MB, free: 5.988 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.002189/0.002189, allocations: 184.7 kB / 17.19 MB, free: 5.609 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.706/1.706, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2237/0.2237, allocations: 43.52 MB / 313.9 MB, free: 0.543 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.001542/0.001542, allocations: 68.19 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1165, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003873/0.1205, allocations: 1.697 MB / 442.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.122, allocations: 0.7922 MB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1221, allocations: 4 kB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.1225, allocations: 51.77 kB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.1229, allocations: 47.75 kB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1233, allocations: 87.72 kB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1235, allocations: 95.67 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1237, allocations: 12.52 kB / 443.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1238, allocations: 39.8 kB / 443.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.557e-05/0.1239, allocations: 31.84 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.1239, allocations: 4 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.124, allocations: 43.98 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.1241, allocations: 19.92 kB / 443.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.692e-05/0.1242, allocations: 31.75 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.1245, allocations: 115.6 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1245, allocations: 0 / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1245, allocations: 0 / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1245, allocations: 0 / 443.6 MB, free: 3.805 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.0005958/0.1251, allocations: 422.9 kB / 444 MB, free: 3.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1252, allocations: 15.83 kB / 444 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.1252, allocations: 8.844 kB / 444 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1255, allocations: 220.7 kB / 444.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1255, allocations: 384 / 444.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.1255, allocations: 8.125 kB / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1257, allocations: 57.61 kB / 444.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1257, allocations: 0 / 444.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1257, allocations: 3.984 kB / 444.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1257, allocations: 0 / 444.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-05/0.1258, allocations: 20 kB / 444.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.1262, allocations: 292.9 kB / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1264, allocations: 54.56 kB / 444.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.1265, allocations: 28.83 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.1265, allocations: 4 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.1267, allocations: 63.39 kB / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1267, allocations: 0 / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.00065/0.1274, allocations: 185.1 kB / 444.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1274, allocations: 51.41 kB / 445 MB, free: 2.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.1276, allocations: 195.3 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.1276, allocations: 29.7 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.1277, allocations: 112 kB / 445.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.1277, allocations: 19.75 kB / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1278, allocations: 21.7 kB / 445.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.1279, allocations: 330.8 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.308e-05/0.1279, allocations: 16 kB / 445.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.128, allocations: 41.64 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1282, allocations: 61.7 kB / 445.8 MB, free: 1.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.1282, allocations: 0 / 445.8 MB, free: 1.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002038/0.1284, allocations: 109.4 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1284, allocations: 8 kB / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1284, allocations: 0 / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1284, allocations: 0 / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1286, allocations: 12 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1286, allocations: 4 kB / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.1287, allocations: 11.89 kB / 445.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1287, allocations: 8.375 kB / 446 MB, free: 1.203 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 0.0001062/0.1288, allocations: 133.2 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.1288, allocations: 15.81 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.1289, allocations: 17.39 kB / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1289, allocations: 0 / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1289, allocations: 8 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1289, allocations: 3.938 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.1293, allocations: 387.3 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1294, allocations: 4 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.1294, allocations: 11.98 kB / 446.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1294, allocations: 0 / 446.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1294, allocations: 3.938 kB / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1295, allocations: 192 / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1295, allocations: 4 kB / 446.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1297, allocations: 208.2 kB / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.1298, allocations: 84.92 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1298, allocations: 15.86 kB / 446.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1299, allocations: 4 kB / 446.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.13, allocations: 4 kB / 446.8 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.13, allocations: 7.984 kB / 446.8 MB, free: 208 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1301, allocations: 148.9 kB / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1301, allocations: 0 / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.1305, allocations: 27.98 kB / 447 MB, free: 32 kB / 318.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.001104/0.1317, allocations: 463.3 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1319, allocations: 67.91 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1319, allocations: 4 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.132, allocations: 27.92 kB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1323, allocations: 23.98 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.1328, allocations: 227.4 kB / 447.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.1332, allocations: 0.708 MB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.026e-05/0.1333, allocations: 17.17 kB / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.1333, allocations: 15.44 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1334, allocations: 4 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of Templates: time 0.005775/0.1391, allocations: 1.697 MB / 450.3 MB, free: 12.84 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches