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.00122/0.00122, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001754/0.001754, allocations: 192 kB / 18.55 MB, free: 4.566 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.396/1.396, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2172/0.2172, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 68.86 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1115, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003097/0.1146, allocations: 1.874 MB / 471.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1162, allocations: 0.9977 MB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1163, allocations: 7.938 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.1168, allocations: 207.4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.1172, allocations: 175.4 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.1177, allocations: 174.8 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.118, allocations: 239.3 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1182, allocations: 37.64 kB / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1184, allocations: 115.6 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.1186, allocations: 155.4 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.1186, allocations: 8 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1188, allocations: 67.95 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.1189, allocations: 47.84 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.867e-05/0.119, allocations: 95.28 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.1193, allocations: 219.5 kB / 473.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1193, allocations: 0 / 473.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1193, allocations: 3.938 kB / 473.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1193, allocations: 0 / 473.7 MB, free: 9.957 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.0007907/0.1201, allocations: 0.5604 MB / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1202, allocations: 8.031 kB / 474.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.1202, allocations: 28.66 kB / 474.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.1206, allocations: 272.1 kB / 474.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1206, allocations: 8.359 kB / 474.5 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.1206, allocations: 20.12 kB / 474.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.1209, allocations: 107.3 kB / 474.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1209, allocations: 11.84 kB / 474.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1209, allocations: 0 / 474.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1209, allocations: 4 kB / 474.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1211, allocations: 47.91 kB / 474.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.1216, allocations: 472.6 kB / 475.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.122, allocations: 125.2 kB / 475.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.1221, allocations: 45.77 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1222, allocations: 4 kB / 475.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.1224, allocations: 117.1 kB / 475.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1224, allocations: 0 / 475.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001317/0.1238, allocations: 496.2 kB / 475.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.1238, allocations: 81.05 kB / 476 MB, free: 7.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.1243, allocations: 432.5 kB / 476.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.1243, allocations: 37.64 kB / 476.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1244, allocations: 156.4 kB / 476.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.1245, allocations: 67.09 kB / 476.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.513e-05/0.1246, allocations: 45.7 kB / 476.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1247, allocations: 338.8 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1249, allocations: 59.97 kB / 477.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.125, allocations: 95.34 kB / 477.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.1253, allocations: 159.5 kB / 477.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1253, allocations: 0 / 477.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003841/0.1257, allocations: 229.2 kB / 477.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1257, allocations: 15.94 kB / 477.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1257, allocations: 0 / 477.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1258, allocations: 11.97 kB / 477.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1259, allocations: 39.92 kB / 477.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1259, allocations: 4 kB / 477.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.126, allocations: 15.94 kB / 477.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.126, allocations: 7.984 kB / 477.7 MB, free: 5.621 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.0001598/0.1262, allocations: 165.8 kB / 477.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.1263, allocations: 43.55 kB / 477.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.541e-05/0.1263, allocations: 38.62 kB / 477.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1264, allocations: 4 kB / 477.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1264, allocations: 0 / 477.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1264, allocations: 3.938 kB / 477.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008809/0.1273, allocations: 0.7233 MB / 478.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1273, allocations: 0 / 478.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.1274, allocations: 35.92 kB / 478.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1274, allocations: 0 / 478.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1274, allocations: 11.98 kB / 478.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1274, allocations: 0 / 478.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1274, allocations: 4 kB / 478.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/0.1279, allocations: 421.8 kB / 479.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.1279, allocations: 104.7 kB / 479.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.128, allocations: 8 kB / 479.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1281, allocations: 11.98 kB / 479.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.1282, allocations: 19.92 kB / 479.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.1282, allocations: 12 kB / 479.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002809/0.1285, allocations: 319 kB / 479.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1285, allocations: 0 / 479.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.1289, allocations: 48 kB / 479.6 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.001156/0.13, allocations: 0.526 MB / 480.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.1304, allocations: 167.8 kB / 480.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1304, allocations: 3.938 kB / 480.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.1305, allocations: 79.91 kB / 480.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.1311, allocations: 63.66 kB / 480.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008534/0.132, allocations: 0.5531 MB / 481 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1324, allocations: 0.7714 MB / 481.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.1325, allocations: 41.92 kB / 481.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.1326, allocations: 27.44 kB / 481.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1326, allocations: 3.938 kB / 481.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of Templates: time 0.007605/0.1402, allocations: 3.108 MB / 485 MB, free: 14.38 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches