Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, 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.001463/0.001463, 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.334/1.334, 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.2059/0.2059, allocations: 44.19 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 62.91 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1067, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00368/0.1105, allocations: 1.886 MB / 471.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1121, allocations: 0.9938 MB / 472.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.1123, allocations: 0 / 472.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.1127, allocations: 219.4 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.1131, allocations: 175.5 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.1136, allocations: 178.6 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.1139, allocations: 235.4 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1141, allocations: 33.67 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1142, allocations: 115.5 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1144, allocations: 151.5 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.1145, allocations: 8 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1146, allocations: 67.91 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.1147, allocations: 47.84 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1148, allocations: 95.27 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1151, allocations: 227.5 kB / 474.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1151, allocations: 3.938 kB / 474.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1151, allocations: 8 kB / 474.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1152, allocations: 3.938 kB / 474.3 MB, free: 9.949 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000765/0.1159, allocations: 0.5448 MB / 474.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.116, allocations: 12.03 kB / 474.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.1161, allocations: 24.66 kB / 474.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.1164, allocations: 276.1 kB / 475.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1164, allocations: 8.375 kB / 475.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.1165, allocations: 16.11 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.1167, allocations: 103.4 kB / 475.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1168, allocations: 11.83 kB / 475.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1168, allocations: 4 kB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1168, allocations: 4 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.117, allocations: 47.89 kB / 475.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/0.1176, allocations: 472.7 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.118, allocations: 125.2 kB / 476 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1181, allocations: 41.83 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1181, allocations: 8 kB / 476 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/0.1185, allocations: 121.1 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.1185, allocations: 0 / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001284/0.1198, allocations: 0.4883 MB / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.1198, allocations: 85.05 kB / 476.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.1203, allocations: 424.5 kB / 477.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1203, allocations: 33.7 kB / 477.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1204, allocations: 156.5 kB / 477.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.1205, allocations: 67.09 kB / 477.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.1205, allocations: 41.7 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1207, allocations: 350.8 kB / 477.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1208, allocations: 55.97 kB / 477.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.121, allocations: 91.28 kB / 477.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1212, allocations: 155.6 kB / 478.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1213, allocations: 8 kB / 478.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000383/0.1216, allocations: 229.1 kB / 478.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1217, allocations: 7.938 kB / 478.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1217, allocations: 0 / 478.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.1217, allocations: 4 kB / 478.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1219, allocations: 47.91 kB / 478.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1219, allocations: 4 kB / 478.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.372e-05/0.122, allocations: 11.94 kB / 478.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.122, allocations: 12.06 kB / 478.4 MB, free: 5.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001659/0.1222, allocations: 161.8 kB / 478.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.1222, allocations: 35.56 kB / 478.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.163e-05/0.1223, allocations: 51.48 kB / 478.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1223, allocations: 4 kB / 478.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1224, allocations: 3.938 kB / 478.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1224, allocations: 3.984 kB / 478.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009085/0.1233, allocations: 0.7272 MB / 479.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1233, allocations: 0 / 479.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-05/0.1234, allocations: 27.98 kB / 479.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1234, allocations: 4 kB / 479.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.1234, allocations: 11.98 kB / 479.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1234, allocations: 8.125 kB / 479.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1234, allocations: 3.938 kB / 479.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.1239, allocations: 416 kB / 479.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.124, allocations: 104.7 kB / 479.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.124, allocations: 8 kB / 479.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.1242, allocations: 11.98 kB / 479.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.1242, allocations: 31.86 kB / 480 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.1243, allocations: 8 kB / 480 MB, free: 3.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002813/0.1246, allocations: 319 kB / 480.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1246, allocations: 0 / 480.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.1249, allocations: 52 kB / 480.3 MB, free: 3.543 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001169/0.1261, allocations: 0.5106 MB / 480.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.1265, allocations: 163.8 kB / 481 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1265, allocations: 4 kB / 481 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.1267, allocations: 76.16 kB / 481.1 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.1272, allocations: 72.17 kB / 481.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008776/0.1281, allocations: 0.5918 MB / 481.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1285, allocations: 0.7675 MB / 482.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.1285, allocations: 31.44 kB / 482.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1286, allocations: 4 kB / 482.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Templates: time 0.005672/0.1342, allocations: 3.644 MB / 486.2 MB, free: 13.84 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time