Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.0008422/0.0008422, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.000909/0.0009091, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.315/1.315, allocations: 223.3 MB / 242.3 MB, free: 264 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.1833/0.1833, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1072, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001969/0.1092, allocations: 1.417 MB / 473.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1108, allocations: 0.842 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.1109, allocations: 4 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1112, allocations: 31.91 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1114, allocations: 39.83 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1117, allocations: 95.77 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1119, allocations: 87.7 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.112, allocations: 16.22 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.1121, allocations: 31.8 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.1122, allocations: 39.78 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1123, allocations: 0 / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1124, allocations: 43.97 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.1124, allocations: 11.94 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.1125, allocations: 57.5 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1127, allocations: 103.9 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1127, allocations: 0 / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1127, allocations: 0 / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1127, allocations: 0 / 475.2 MB, free: 10.42 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004838/0.1132, allocations: 395.1 kB / 475.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1133, allocations: 8.031 kB / 475.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.1133, allocations: 34.75 kB / 475.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.1134, allocations: 12.83 kB / 475.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1136, allocations: 204.5 kB / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1136, allocations: 4 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.1136, allocations: 4 kB / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1138, allocations: 57.67 kB / 475.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1138, allocations: 3.938 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1138, allocations: 7.984 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1138, allocations: 0 / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.411e-05/0.1139, allocations: 27.91 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.1142, allocations: 284.8 kB / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1144, allocations: 58.67 kB / 476.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.1145, allocations: 24.84 kB / 476.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1145, allocations: 0 / 476.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.1147, allocations: 67.33 kB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1147, allocations: 0 / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000538/0.1152, allocations: 173.2 kB / 476.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.1153, allocations: 59.34 kB / 476.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1154, allocations: 160.3 kB / 476.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1155, allocations: 29.7 kB / 476.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.1155, allocations: 92.14 kB / 476.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.1156, allocations: 31.62 kB / 476.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.1156, allocations: 17.72 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1157, allocations: 322.8 kB / 477.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.679e-05/0.1158, allocations: 19.98 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.1159, allocations: 37.7 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.116, allocations: 57.66 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.116, allocations: 0 / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001769/0.1162, allocations: 101.6 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1162, allocations: 4 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1162, allocations: 3.938 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1163, allocations: 3.938 kB / 477.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.1163, allocations: 16 kB / 477.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1163, allocations: 3.984 kB / 477.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.1164, allocations: 8.031 kB / 477.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1164, allocations: 4 kB / 477.5 MB, free: 7.883 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 (10): * Single equations (assignments): 10 * 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.0001067/0.1165, allocations: 117.8 kB / 477.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.1166, allocations: 7.906 kB / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.1166, allocations: 20.64 kB / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1166, allocations: 0 / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1166, allocations: 4 kB / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1166, allocations: 0 / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.117, allocations: 403.5 kB / 478 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1171, allocations: 0 / 478 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.1171, allocations: 16.25 kB / 478 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1171, allocations: 0 / 478 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1171, allocations: 7.922 kB / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1171, allocations: 8 kB / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1171, allocations: 0 / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1173, allocations: 204.3 kB / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.1174, allocations: 85.02 kB / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1174, allocations: 3.984 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.1175, allocations: 8 kB / 478.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.1175, allocations: 0 / 478.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1176, allocations: 7.984 kB / 478.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.457e-05/0.1177, allocations: 125.3 kB / 478.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.734e-06/0.1177, allocations: 4 kB / 478.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1179, allocations: 23.94 kB / 478.5 MB, free: 6.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.00135/0.1193, allocations: 1.092 MB / 479.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.1194, allocations: 59.91 kB / 479.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1195, allocations: 0 / 479.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.591e-05/0.1195, allocations: 39.86 kB / 479.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1199, allocations: 26.77 kB / 479.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.1214, allocations: 1.588 MB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1217, allocations: 0.7004 MB / 482 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.1218, allocations: 12.88 kB / 482 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.1218, allocations: 35.42 kB / 482 MB, free: 3.238 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1218, allocations: 0 / 482 MB, free: 3.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.1347, allocations: 2.839 MB / 484.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.1349, allocations: 234 kB / 485.1 MB, free: 272 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/1.883, allocations: 0 / 485.1 MB, free: 272 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches