Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001405/0.001405, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.5 MB, free: 15.37 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.2175/0.2175, allocations: 44.17 MB / 336.8 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 68.64 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1092, allocations: 60.82 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003585/0.1128, allocations: 1.944 MB / 471.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1145, allocations: 0.9822 MB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.1147, allocations: 0 / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.1151, allocations: 147.7 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.1154, allocations: 119.6 kB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.1159, allocations: 163.7 kB / 472.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000307/0.1162, allocations: 215.4 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1164, allocations: 29.67 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.1166, allocations: 99.55 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1167, allocations: 127.5 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.1168, allocations: 4 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.1169, allocations: 59.98 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.117, allocations: 55.83 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.024e-05/0.1171, allocations: 75.36 kB / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1174, allocations: 152 kB / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1174, allocations: 0 / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1174, allocations: 0 / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1174, allocations: 3.938 kB / 473.3 MB, free: 10.63 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.0007559/0.1182, allocations: 0.5255 MB / 473.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1182, allocations: 8.031 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.1183, allocations: 24.66 kB / 473.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.1186, allocations: 275.5 kB / 474.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1186, allocations: 8.375 kB / 474.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.1187, allocations: 12.12 kB / 474.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.1189, allocations: 107.3 kB / 474.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.119, allocations: 0 / 474.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.119, allocations: 0 / 474.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.119, allocations: 4 kB / 474.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.1192, allocations: 47.91 kB / 474.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.1197, allocations: 472.6 kB / 474.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.1201, allocations: 125.1 kB / 474.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1202, allocations: 49.83 kB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1203, allocations: 0 / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.1206, allocations: 123.8 kB / 475.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1206, allocations: 0 / 475.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001343/0.1219, allocations: 489 kB / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.122, allocations: 81.11 kB / 475.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.1223, allocations: 355 kB / 476 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.1224, allocations: 37.64 kB / 476 MB, free: 7.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.63e-05/0.1225, allocations: 144.4 kB / 476.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.1226, allocations: 71.08 kB / 476.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.1226, allocations: 45.7 kB / 476.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1228, allocations: 338.8 kB / 476.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1229, allocations: 63.91 kB / 476.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.1231, allocations: 91.34 kB / 476.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.1234, allocations: 159.3 kB / 476.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1234, allocations: 0 / 476.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003953/0.1238, allocations: 225.5 kB / 477.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1238, allocations: 11.94 kB / 477.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1238, allocations: 0 / 477.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1238, allocations: 0 / 477.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.124, allocations: 47.91 kB / 477.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.124, allocations: 4.062 kB / 477.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.1241, allocations: 12 kB / 477.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1241, allocations: 8 kB / 477.2 MB, free: 6.457 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.0001445/0.1243, allocations: 158.3 kB / 477.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.1243, allocations: 35.56 kB / 477.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.928e-05/0.1244, allocations: 33.73 kB / 477.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.1244, allocations: 4 kB / 477.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1244, allocations: 0 / 477.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1244, allocations: 4 kB / 477.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008807/0.1253, allocations: 0.7193 MB / 478.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1253, allocations: 4 kB / 478.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.385e-05/0.1254, allocations: 36.11 kB / 478.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1254, allocations: 4 kB / 478.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1255, allocations: 7.938 kB / 478.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1255, allocations: 7.984 kB / 478.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1255, allocations: 0 / 478.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.1259, allocations: 415.8 kB / 478.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.126, allocations: 105 kB / 478.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.1261, allocations: 4 kB / 478.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.1262, allocations: 11.94 kB / 478.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.1263, allocations: 23.91 kB / 478.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.1263, allocations: 16 kB / 478.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.1265, allocations: 265.9 kB / 479.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1266, allocations: 0 / 479.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.1269, allocations: 47.89 kB / 479.1 MB, free: 4.453 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.00118/0.1281, allocations: 0.521 MB / 479.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.1285, allocations: 155.8 kB / 479.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1285, allocations: 4.125 kB / 479.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.1286, allocations: 79.84 kB / 479.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.1292, allocations: 68.44 kB / 479.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008311/0.1301, allocations: 0.5668 MB / 480.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1304, allocations: 0.7599 MB / 481.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.1305, allocations: 35.42 kB / 481.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of SimCode: time 2.034e-06/0.1305, allocations: 0 / 481.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of Templates: time 0.005927/0.1364, allocations: 3.489 MB / 484.8 MB, free: 14.93 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches