Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008222/0.0008222, allocations: 97.53 kB / 18.01 MB, free: 5.734 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.0008889/0.000889, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.317/1.317, allocations: 223.3 MB / 242.9 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1874/0.1874, allocations: 44.25 MB / 338.3 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 8 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1127, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.001954/0.1147, allocations: 1.433 MB / 474.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1162, allocations: 0.8577 MB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.1163, allocations: 0 / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1166, allocations: 83.75 kB / 475.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1168, allocations: 75.78 kB / 475.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1171, allocations: 98.2 kB / 475.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1173, allocations: 111.6 kB / 475.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1174, allocations: 12 kB / 475.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.1175, allocations: 43.78 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1177, allocations: 59.81 kB / 475.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1177, allocations: 7.938 kB / 475.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.1178, allocations: 55.97 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.1179, allocations: 27.91 kB / 475.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.118, allocations: 65.39 kB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.1182, allocations: 100.1 kB / 475.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1182, allocations: 0 / 475.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1182, allocations: 3.938 kB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1182, allocations: 0 / 475.9 MB, free: 10.32 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.0005374/0.1187, allocations: 411.1 kB / 476.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1188, allocations: 12.03 kB / 476.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.1189, allocations: 12.75 kB / 476.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1191, allocations: 212.6 kB / 476.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1192, allocations: 12.38 kB / 476.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1192, allocations: 12 kB / 476.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1194, allocations: 57.67 kB / 476.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1194, allocations: 0 / 476.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1194, allocations: 0 / 476.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1194, allocations: 4 kB / 476.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.1195, allocations: 23.98 kB / 476.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.1199, allocations: 312.6 kB / 477 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1201, allocations: 62.48 kB / 477 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.1202, allocations: 28.97 kB / 477.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1202, allocations: 0 / 477.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.1204, allocations: 71.38 kB / 477.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.1204, allocations: 4 kB / 477.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007586/0.1212, allocations: 237 kB / 477.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1213, allocations: 59.28 kB / 477.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.1215, allocations: 222.7 kB / 477.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1215, allocations: 29.7 kB / 477.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.1216, allocations: 112.1 kB / 477.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.1216, allocations: 35.53 kB / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.1217, allocations: 21.7 kB / 477.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1218, allocations: 330.8 kB / 478.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.1219, allocations: 27.98 kB / 478.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.122, allocations: 41.7 kB / 478.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.1221, allocations: 77.7 kB / 478.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1221, allocations: 0 / 478.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000245/0.1224, allocations: 137.4 kB / 478.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1224, allocations: 8 kB / 478.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1224, allocations: 0 / 478.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1225, allocations: 0 / 478.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/0.1225, allocations: 19.94 kB / 478.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1226, allocations: 11.92 kB / 478.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.1226, allocations: 0 / 478.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1226, allocations: 4 kB / 478.5 MB, free: 7.523 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.000123/0.1228, allocations: 132.6 kB / 478.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.1228, allocations: 15.94 kB / 478.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.1229, allocations: 21.41 kB / 478.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1229, allocations: 0 / 478.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1229, allocations: 3.938 kB / 478.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.1229, allocations: 7.969 kB / 478.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.1234, allocations: 451.9 kB / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1235, allocations: 4.062 kB / 479.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.1235, allocations: 19.98 kB / 479.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1235, allocations: 0 / 479.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1235, allocations: 4 kB / 479.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1236, allocations: 3.938 kB / 479.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1236, allocations: 4 kB / 479.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1238, allocations: 236.9 kB / 479.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.1239, allocations: 89.02 kB / 479.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1239, allocations: 4 kB / 479.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.124, allocations: 3.984 kB / 479.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.1241, allocations: 11.94 kB / 479.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.1241, allocations: 15.98 kB / 479.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.1242, allocations: 168.3 kB / 479.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1242, allocations: 0 / 479.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000302/0.1245, allocations: 28 kB / 479.7 MB, free: 6.215 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.001202/0.1258, allocations: 0.5121 MB / 480.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.126, allocations: 79.84 kB / 480.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.126, allocations: 0 / 480.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/0.1261, allocations: 43.92 kB / 480.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1265, allocations: 35.02 kB / 480.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.127, allocations: 345.5 kB / 480.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1273, allocations: 0.7197 MB / 481.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.1274, allocations: 19.44 kB / 481.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1274, allocations: 0 / 481.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of Templates: time 0.004467/0.1319, allocations: 2.179 MB / 483.6 MB, free: 2.438 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches