Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.00198/0.00198, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.34 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.2454/0.2454, allocations: 44.17 MB / 336.8 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 66.98 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1026, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003333/0.106, allocations: 1.94 MB / 471.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1076, allocations: 0.9783 MB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1078, allocations: 0 / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004416/0.1082, allocations: 223.5 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1086, allocations: 151.6 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.109, allocations: 162.9 kB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.1093, allocations: 227.3 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1095, allocations: 25.69 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.1096, allocations: 111.5 kB / 473 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1099, allocations: 147.5 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.1099, allocations: 4 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.11, allocations: 59.97 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.236e-05/0.1101, allocations: 63.7 kB / 473.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.326e-05/0.1102, allocations: 87.34 kB / 473.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1104, allocations: 164 kB / 473.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1104, allocations: 4 kB / 473.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1104, allocations: 4 kB / 473.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1105, allocations: 3.938 kB / 473.5 MB, free: 10.48 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.0007124/0.1112, allocations: 0.5525 MB / 474.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1112, allocations: 12.03 kB / 474.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/0.1113, allocations: 24.66 kB / 474.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1116, allocations: 280.1 kB / 474.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1116, allocations: 8.375 kB / 474.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1117, allocations: 8.125 kB / 474.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.1119, allocations: 115.3 kB / 474.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.112, allocations: 3.906 kB / 474.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.112, allocations: 0 / 474.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.112, allocations: 4 kB / 474.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1121, allocations: 43.97 kB / 474.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.1127, allocations: 484.7 kB / 475 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.1131, allocations: 125.2 kB / 475.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1133, allocations: 37.83 kB / 475.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1133, allocations: 11.98 kB / 475.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.1136, allocations: 113.1 kB / 475.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.1136, allocations: 0 / 475.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001381/0.115, allocations: 0.489 MB / 475.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.1151, allocations: 85.09 kB / 475.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.1155, allocations: 420.5 kB / 476.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.1155, allocations: 33.7 kB / 476.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1157, allocations: 156.5 kB / 476.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.882e-05/0.1157, allocations: 71.08 kB / 476.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/0.1158, allocations: 41.7 kB / 476.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.116, allocations: 346.8 kB / 476.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1161, allocations: 55.98 kB / 477 MB, free: 6.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.1163, allocations: 95.33 kB / 477.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.1166, allocations: 155.3 kB / 477.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.1166, allocations: 12 kB / 477.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004378/0.117, allocations: 237.2 kB / 477.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.117, allocations: 7.938 kB / 477.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1171, allocations: 0 / 477.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1171, allocations: 4 kB / 477.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1172, allocations: 47.92 kB / 477.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1173, allocations: 0 / 477.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.1174, allocations: 11.92 kB / 477.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.1174, allocations: 12 kB / 477.5 MB, free: 6.152 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.0001909/0.1176, allocations: 174.3 kB / 477.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.1177, allocations: 31.56 kB / 477.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.525e-05/0.1178, allocations: 42.84 kB / 477.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1178, allocations: 4 kB / 477.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.1178, allocations: 3.938 kB / 477.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1178, allocations: 0 / 477.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009629/0.1188, allocations: 0.7311 MB / 478.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1188, allocations: 0 / 478.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.171e-05/0.1189, allocations: 31.92 kB / 478.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1189, allocations: 4 kB / 478.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.1189, allocations: 8 kB / 478.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1189, allocations: 8.125 kB / 478.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1189, allocations: 0 / 478.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.1194, allocations: 423.3 kB / 479 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.1195, allocations: 104.7 kB / 479.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.1196, allocations: 8 kB / 479.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1197, allocations: 11.98 kB / 479.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.1198, allocations: 23.86 kB / 479.1 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.1198, allocations: 15.98 kB / 479.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000313/0.1201, allocations: 315 kB / 479.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1201, allocations: 0 / 479.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.1205, allocations: 47.98 kB / 479.5 MB, free: 4.066 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.001363/0.1219, allocations: 0.5126 MB / 480 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.1223, allocations: 159.8 kB / 480.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1223, allocations: 0 / 480.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.1225, allocations: 80.22 kB / 480.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.1231, allocations: 72.95 kB / 480.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.124, allocations: 0.6406 MB / 481 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.1244, allocations: 0.778 MB / 481.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.1244, allocations: 27.44 kB / 481.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1245, allocations: 4 kB / 481.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of Templates: time 0.005749/0.1302, allocations: 3.642 MB / 485.4 MB, free: 14.3 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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