Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001855/0.001855, allocations: 192 kB / 18.56 MB, free: 4.434 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.418/1.418, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2219/0.2219, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 64.89 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09725, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003391/0.1007, allocations: 1.878 MB / 471.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1024, allocations: 1.005 MB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1025, allocations: 0 / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.1029, allocations: 163.4 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.1033, allocations: 131.5 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.1038, allocations: 175.3 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.1041, allocations: 223.4 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1043, allocations: 29.67 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1044, allocations: 111.5 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1046, allocations: 123.6 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.1046, allocations: 8 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1048, allocations: 67.92 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.1048, allocations: 47.81 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.122e-05/0.1049, allocations: 79.44 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1052, allocations: 207.5 kB / 473.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1052, allocations: 0 / 473.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1052, allocations: 0 / 473.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1052, allocations: 4 kB / 473.5 MB, free: 10.12 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.0006636/0.1059, allocations: 0.5293 MB / 474 MB, free: 9.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1059, allocations: 15.97 kB / 474 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.106, allocations: 24.66 kB / 474.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.1063, allocations: 267.6 kB / 474.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1064, allocations: 8.375 kB / 474.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.1064, allocations: 16.05 kB / 474.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1066, allocations: 103.4 kB / 474.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1066, allocations: 3.984 kB / 474.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1066, allocations: 4 kB / 474.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1067, allocations: 4 kB / 474.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1068, allocations: 39.97 kB / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.1073, allocations: 472.6 kB / 475 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.1077, allocations: 117.2 kB / 475.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.798e-05/0.1078, allocations: 53.81 kB / 475.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1078, allocations: 4 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.1081, allocations: 121 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.532e-06/0.1081, allocations: 0 / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001283/0.1094, allocations: 489.1 kB / 475.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1094, allocations: 81.11 kB / 475.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.1098, allocations: 351 kB / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.1098, allocations: 29.7 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.1099, allocations: 144.5 kB / 476.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.11, allocations: 75.08 kB / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.1101, allocations: 45.7 kB / 476.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1102, allocations: 338.8 kB / 476.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1103, allocations: 59.91 kB / 476.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.1105, allocations: 95.28 kB / 476.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.1107, allocations: 159.4 kB / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1107, allocations: 0 / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000371/0.1111, allocations: 237.3 kB / 477.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1111, allocations: 7.938 kB / 477.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1112, allocations: 80 / 477.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1112, allocations: 8 kB / 477.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1113, allocations: 43.92 kB / 477.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1113, allocations: 16.03 kB / 477.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.1114, allocations: 4 kB / 477.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1114, allocations: 12 kB / 477.4 MB, free: 5.926 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.0001291/0.1116, allocations: 157.8 kB / 477.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.1116, allocations: 31.56 kB / 477.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.1117, allocations: 33.73 kB / 477.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1117, allocations: 4 kB / 477.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1117, allocations: 0 / 477.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1117, allocations: 4 kB / 477.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007807/0.1125, allocations: 0.7116 MB / 478.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1125, allocations: 3.938 kB / 478.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.1126, allocations: 36.11 kB / 478.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1126, allocations: 4 kB / 478.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1126, allocations: 4 kB / 478.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-06/0.1126, allocations: 0 / 478.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1127, allocations: 4 kB / 478.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.1131, allocations: 421.7 kB / 478.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1132, allocations: 97.02 kB / 478.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.1132, allocations: 11.98 kB / 478.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.1133, allocations: 7.938 kB / 478.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.1134, allocations: 23.86 kB / 478.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.1134, allocations: 15.98 kB / 478.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.1137, allocations: 265.9 kB / 479.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1137, allocations: 0 / 479.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.114, allocations: 51.91 kB / 479.3 MB, free: 3.934 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.001111/0.1151, allocations: 0.5113 MB / 479.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.1155, allocations: 163.8 kB / 479.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1155, allocations: 4.125 kB / 479.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.1157, allocations: 79.84 kB / 480 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.1162, allocations: 64.16 kB / 480.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.1169, allocations: 496.8 kB / 480.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1172, allocations: 0.7519 MB / 481.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.1174, allocations: 49.89 kB / 481.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.1174, allocations: 31.42 kB / 481.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1174, allocations: 0 / 481.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of Templates: time 0.006048/0.1235, allocations: 3.081 MB / 484.5 MB, free: 14.89 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches