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.0008439/0.0008439, allocations: 90.38 kB / 17.35 MB, free: 6.027 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.0007436/0.0007437, allocations: 178.5 kB / 18.26 MB, free: 5.387 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.199/1.199, allocations: 223.3 MB / 242.3 MB, free: 64 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.1714/0.1714, allocations: 44.26 MB / 337.7 MB, free: 2.609 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002702, allocations: 16 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08836, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002078/0.09048, allocations: 1.923 MB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.09203, allocations: 1.162 MB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.382e-05/0.09213, allocations: 7.938 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.09245, allocations: 111.6 kB / 475.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.09274, allocations: 155.4 kB / 475.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.09333, allocations: 293.2 kB / 476 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.09371, allocations: 390.8 kB / 476.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.09384, allocations: 57 kB / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.0941, allocations: 247 kB / 476.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.09426, allocations: 143.2 kB / 476.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.09429, allocations: 7.938 kB / 476.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.09443, allocations: 55.98 kB / 476.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.09456, allocations: 115.6 kB / 477 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.09471, allocations: 200.3 kB / 477.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.09505, allocations: 402.2 kB / 477.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.09506, allocations: 3.938 kB / 477.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09507, allocations: 0 / 477.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.09508, allocations: 0 / 477.6 MB, free: 7.949 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.0008263/0.09591, allocations: 0.7315 MB / 478.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.09595, allocations: 8.031 kB / 478.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.096, allocations: 46.73 kB / 478.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.09608, allocations: 60.19 kB / 478.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.09647, allocations: 399.7 kB / 478.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.0965, allocations: 16.36 kB / 478.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.09654, allocations: 15.94 kB / 478.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.09687, allocations: 197.4 kB / 479.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.0969, allocations: 7.906 kB / 479.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.09692, allocations: 4 kB / 479.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.09693, allocations: 4 kB / 479.1 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.09714, allocations: 95.86 kB / 479.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.0979, allocations: 0.7899 MB / 480 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.09844, allocations: 250.5 kB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.09862, allocations: 95.45 kB / 480.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.09865, allocations: 4 kB / 480.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.09899, allocations: 204.3 kB / 480.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.099, allocations: 0 / 480.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002087/0.1011, allocations: 1.091 MB / 481.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.1012, allocations: 140.5 kB / 481.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.1019, allocations: 0.7451 MB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.1019, allocations: 37.7 kB / 482.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.102, allocations: 240.9 kB / 482.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.742e-05/0.1022, allocations: 142.1 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.1022, allocations: 37.7 kB / 482.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1023, allocations: 374.8 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.1025, allocations: 112.8 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.1028, allocations: 183.2 kB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.1033, allocations: 326.6 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1033, allocations: 0 / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006419/0.1039, allocations: 428.5 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.104, allocations: 8.125 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.104, allocations: 4 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.104, allocations: 4 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.1042, allocations: 91.83 kB / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1043, allocations: 7.938 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.1044, allocations: 15.98 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.1044, allocations: 20 kB / 484.5 MB, free: 0.7031 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.0002043/0.1046, allocations: 232 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.1047, allocations: 67.09 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.1048, allocations: 88.42 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1048, allocations: 4 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1049, allocations: 3.938 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1049, allocations: 4 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.1063, allocations: 1.299 MB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.1063, allocations: 4 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.1064, allocations: 59.91 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.1064, allocations: 8 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.1065, allocations: 12 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.1065, allocations: 11.98 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.1065, allocations: 11.88 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007109/0.1072, allocations: 0.7738 MB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.1074, allocations: 176.3 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.1074, allocations: 19.94 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.1077, allocations: 19.98 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.1078, allocations: 43.83 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.1078, allocations: 27.98 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004909/0.1083, allocations: 0.5418 MB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1083, allocations: 0 / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000463/0.1088, allocations: 91.89 kB / 487.9 MB, free: 13.07 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.001917/0.1107, allocations: 1.747 MB / 489.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005176/0.1112, allocations: 311.6 kB / 490 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1112, allocations: 0 / 490 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.1115, allocations: 163.9 kB / 490.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.1125, allocations: 120.7 kB / 490.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.1175, allocations: 4.895 MB / 495.2 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1179, allocations: 0.8776 MB / 496 MB, free: 4.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.1181, allocations: 79.23 kB / 496.1 MB, free: 4.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.1183, allocations: 183.4 kB / 496.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1183, allocations: 0 / 496.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.1381, allocations: 9.705 MB / 0.4941 GB, free: 11.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.1383, allocations: 241.2 kB / 0.4944 GB, free: 10.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/1.972, allocations: 3.938 kB / 0.4944 GB, free: 10.85 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 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.mat","/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