Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.002171/0.002171, allocations: 192 kB / 18.55 MB, free: 4.566 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.415/1.415, allocations: 222.9 MB / 242.3 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.2024/0.2024, allocations: 44.19 MB / 336.6 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.39 kB / 408.5 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1047, allocations: 60.81 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003535/0.1083, allocations: 2.237 MB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1102, allocations: 1.193 MB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1104, allocations: 7.938 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.1108, allocations: 111.4 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.1112, allocations: 183.1 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.1118, allocations: 313.2 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.1122, allocations: 418.8 kB / 473.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1124, allocations: 68.98 kB / 473.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.1127, allocations: 255.1 kB / 474.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.1128, allocations: 147.2 kB / 474.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.1129, allocations: 16 kB / 474.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.113, allocations: 79.95 kB / 474.4 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1132, allocations: 119.6 kB / 474.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1133, allocations: 174.6 kB / 474.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.1137, allocations: 426.3 kB / 475.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1137, allocations: 0 / 475.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1137, allocations: 0 / 475.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1138, allocations: 0 / 475.1 MB, free: 8.52 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008912/0.1146, allocations: 0.796 MB / 475.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1147, allocations: 12.03 kB / 475.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.399e-05/0.1147, allocations: 46.73 kB / 475.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.1148, allocations: 52.28 kB / 476 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.1153, allocations: 415.7 kB / 476.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1153, allocations: 4.375 kB / 476.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.1154, allocations: 23.94 kB / 476.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.1158, allocations: 196.9 kB / 476.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1158, allocations: 3.906 kB / 476.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.1158, allocations: 4 kB / 476.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1158, allocations: 8 kB / 476.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.1161, allocations: 95.86 kB / 476.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.1169, allocations: 0.7976 MB / 477.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/0.1175, allocations: 242.5 kB / 477.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.1177, allocations: 91.52 kB / 477.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1178, allocations: 4 kB / 477.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003935/0.1182, allocations: 202.2 kB / 478 MB, free: 5.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.1182, allocations: 0 / 478 MB, free: 5.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002328/0.1205, allocations: 1.092 MB / 479.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.1206, allocations: 140.5 kB / 479.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007455/0.1214, allocations: 0.7489 MB / 480 MB, free: 3.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.1214, allocations: 41.69 kB / 480 MB, free: 3.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.1216, allocations: 236.9 kB / 480.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1217, allocations: 142.1 kB / 480.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1218, allocations: 78.14 kB / 480.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.122, allocations: 374.8 kB / 480.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.1223, allocations: 112.8 kB / 481 MB, free: 2.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.1226, allocations: 191.1 kB / 481.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.1231, allocations: 318.7 kB / 481.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1232, allocations: 0 / 481.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007435/0.1239, allocations: 436.5 kB / 481.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.1239, allocations: 8 kB / 481.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.124, allocations: 0 / 481.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.124, allocations: 4 kB / 481.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.1245, allocations: 91.83 kB / 482 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.1245, allocations: 7.938 kB / 482 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.1247, allocations: 15.98 kB / 482 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.1247, allocations: 24.12 kB / 482 MB, free: 1.156 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002774/0.125, allocations: 224 kB / 482.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.1251, allocations: 67.09 kB / 482.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.1252, allocations: 80.5 kB / 482.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1253, allocations: 4 kB / 482.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.1253, allocations: 3.938 kB / 482.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.1253, allocations: 11.97 kB / 482.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.1269, allocations: 1.295 MB / 483.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1269, allocations: 0 / 483.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1271, allocations: 63.91 kB / 483.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.1271, allocations: 4 kB / 483.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.1271, allocations: 19.98 kB / 483.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1271, allocations: 4 kB / 483.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.1272, allocations: 11.88 kB / 483.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007922/0.128, allocations: 0.7737 MB / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.1281, allocations: 168.3 kB / 484.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.1282, allocations: 19.98 kB / 484.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.1285, allocations: 19.98 kB / 484.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/0.1286, allocations: 39.84 kB / 484.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.1286, allocations: 23.98 kB / 484.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005838/0.1292, allocations: 0.5496 MB / 485.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1292, allocations: 0 / 485.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005269/0.1298, allocations: 84 kB / 485.5 MB, free: 13.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002178/0.1319, allocations: 1.746 MB / 487.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000636/0.1326, allocations: 331.7 kB / 487.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1326, allocations: 4.062 kB / 487.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.1329, allocations: 167.6 kB / 487.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009331/0.1338, allocations: 127.5 kB / 487.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.1393, allocations: 4.759 MB / 492.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.1398, allocations: 0.8782 MB / 493.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.1401, allocations: 83.22 kB / 493.6 MB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.1403, allocations: 184.1 kB / 493.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1403, allocations: 0 / 493.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.1669, allocations: 10.38 MB / 0.4923 GB, free: 10.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.507, allocations: 4 kB / 0.4923 GB, free: 10.98 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv --start-time 0 --stop-time 9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0036 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches