Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 111.2 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.001181/0.001182, 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.345/1.345, allocations: 222.9 MB / 242.4 MB, free: 15.36 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.1985/0.1985, allocations: 44.18 MB / 336.8 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 66.86 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1086, allocations: 60.84 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003407/0.112, allocations: 1.784 MB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1135, allocations: 0.8615 MB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.797e-05/0.1136, allocations: 3.938 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.114, allocations: 87.77 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.1143, allocations: 63.8 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.1146, allocations: 107.8 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1148, allocations: 103.8 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.1149, allocations: 11.98 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.115, allocations: 51.77 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1151, allocations: 63.75 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1152, allocations: 4 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1153, allocations: 55.92 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.1154, allocations: 31.89 kB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.1154, allocations: 31.75 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1156, allocations: 108 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1157, allocations: 0 / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1157, allocations: 0 / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1157, allocations: 0 / 472.5 MB, free: 11.46 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005601/0.1162, allocations: 427 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1163, allocations: 12.03 kB / 473 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.1163, allocations: 12.75 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1166, allocations: 220.5 kB / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1166, allocations: 8.375 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.1167, allocations: 4.125 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1168, allocations: 57.67 kB / 473.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1168, allocations: 7.844 kB / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1169, allocations: 3.984 kB / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1169, allocations: 7.938 kB / 473.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.619e-05/0.117, allocations: 23.98 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.1174, allocations: 308.7 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1176, allocations: 54.55 kB / 473.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.1177, allocations: 20.98 kB / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1177, allocations: 0 / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.118, allocations: 79.44 kB / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.118, allocations: 3.938 kB / 473.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007988/0.1188, allocations: 241.3 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1188, allocations: 59.34 kB / 474.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.119, allocations: 222.7 kB / 474.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1191, allocations: 25.7 kB / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.1192, allocations: 120 kB / 474.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.1192, allocations: 31.55 kB / 474.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.1192, allocations: 29.72 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1194, allocations: 326.8 kB / 474.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.1195, allocations: 28 kB / 474.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.638e-05/0.1196, allocations: 52.44 kB / 474.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1197, allocations: 77.59 kB / 475 MB, free: 8.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1197, allocations: 4 kB / 475 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002342/0.12, allocations: 125.5 kB / 475.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.12, allocations: 8 kB / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.12, allocations: 0 / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.12, allocations: 0 / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.1201, allocations: 31.92 kB / 475.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1201, allocations: 3.938 kB / 475.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.1202, allocations: 0 / 475.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1202, allocations: 4 kB / 475.1 MB, free: 8.641 MB / 350.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 (13): * Single equations (assignments): 13 * 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.000113/0.1203, allocations: 133.9 kB / 475.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1204, allocations: 15.81 kB / 475.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.1204, allocations: 25.39 kB / 475.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1204, allocations: 0 / 475.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1204, allocations: 7.875 kB / 475.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1205, allocations: 0 / 475.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005463/0.121, allocations: 456 kB / 475.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.121, allocations: 0 / 475.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.1211, allocations: 16.03 kB / 475.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1211, allocations: 3.938 kB / 475.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1211, allocations: 11.98 kB / 475.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1211, allocations: 0 / 475.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1211, allocations: 4 kB / 475.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.1214, allocations: 233 kB / 476 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.1215, allocations: 85.02 kB / 476.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.1215, allocations: 3.984 kB / 476.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.1216, allocations: 8 kB / 476.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.1216, allocations: 7.984 kB / 476.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.1217, allocations: 8 kB / 476.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1218, allocations: 172.3 kB / 476.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1218, allocations: 7.938 kB / 476.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.1221, allocations: 35.89 kB / 476.3 MB, free: 7.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001186/0.1233, allocations: 0.5036 MB / 476.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1235, allocations: 75.91 kB / 476.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1235, allocations: 3.938 kB / 476.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9e-05/0.1236, allocations: 39.92 kB / 477 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.124, allocations: 45.77 kB / 477 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.1246, allocations: 332.1 kB / 477.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1249, allocations: 0.7236 MB / 478 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.125, allocations: 23.42 kB / 478.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.125, allocations: 0 / 478.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of Templates: time 0.006428/0.1314, allocations: 2.194 MB / 480.3 MB, free: 3.535 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches