Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.001099/0.001099, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001014/0.001014, allocations: 194 kB / 18.12 MB, free: 5.363 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.332/1.332, allocations: 222.9 MB / 241.8 MB, free: 15.54 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.1775/0.1775, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 69.78 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1025, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002763/0.1053, allocations: 1.769 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.107, allocations: 1.444 MB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.1071, allocations: 0 / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1073, allocations: 39.77 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.1075, allocations: 47.83 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.1077, allocations: 99.77 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.1078, allocations: 87.75 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.893e-05/0.1079, allocations: 8.234 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.108, allocations: 39.8 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1081, allocations: 43.77 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1081, allocations: 4 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.016e-05/0.1082, allocations: 55.97 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.1082, allocations: 11.92 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.1083, allocations: 35.8 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.1084, allocations: 123.9 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1085, allocations: 0 / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.1085, allocations: 0 / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.294e-06/0.1085, allocations: 0 / 472.4 MB, free: 10.92 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.0003893/0.1089, allocations: 399.2 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.1089, allocations: 12.03 kB / 472.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.1089, allocations: 38.69 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.109, allocations: 8.844 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.1092, allocations: 204 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1092, allocations: 8.375 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1092, allocations: 3.938 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1093, allocations: 71.38 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.1094, allocations: 4 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.1094, allocations: 0 / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-06/0.1094, allocations: 0 / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.65e-05/0.1094, allocations: 19.98 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.1097, allocations: 284.8 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1099, allocations: 58.69 kB / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.1099, allocations: 20.84 kB / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.11, allocations: 0 / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.1101, allocations: 71.33 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1101, allocations: 0 / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004397/0.1106, allocations: 177.1 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.1106, allocations: 85.11 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1108, allocations: 160.3 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1108, allocations: 25.7 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.1108, allocations: 92.14 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1109, allocations: 27.64 kB / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1109, allocations: 25.72 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.111, allocations: 318.8 kB / 474.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.288e-05/0.1111, allocations: 19.98 kB / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.1111, allocations: 50.5 kB / 474.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1112, allocations: 57.66 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1113, allocations: 0 / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001729/0.1114, allocations: 101.9 kB / 474.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1114, allocations: 8 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1115, allocations: 0 / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.1115, allocations: 4.062 kB / 474.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.1116, allocations: 23.92 kB / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1116, allocations: 4 kB / 474.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.1116, allocations: 7.875 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1116, allocations: 7.984 kB / 474.8 MB, free: 8.309 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 7.87e-05/0.1117, allocations: 117.8 kB / 474.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.1118, allocations: 11.91 kB / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.1118, allocations: 16.86 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1118, allocations: 0 / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1118, allocations: 4 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1118, allocations: 3.938 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.1122, allocations: 383.3 kB / 475.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1122, allocations: 3.984 kB / 475.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/0.1122, allocations: 8 kB / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1123, allocations: 3.938 kB / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1123, allocations: 11.94 kB / 475.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1123, allocations: 0 / 475.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1123, allocations: 4.031 kB / 475.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.1125, allocations: 200.2 kB / 475.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.1125, allocations: 89 kB / 475.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1126, allocations: 7.938 kB / 475.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.1126, allocations: 4 kB / 475.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.1127, allocations: 7.984 kB / 475.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.1127, allocations: 4 kB / 475.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.592e-05/0.1128, allocations: 125.3 kB / 475.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1128, allocations: 0 / 475.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.113, allocations: 28 kB / 475.8 MB, free: 7.188 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.001375/0.1144, allocations: 1.136 MB / 476.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1146, allocations: 63.91 kB / 477 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1146, allocations: 0 / 477 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.1147, allocations: 27.92 kB / 477 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.115, allocations: 37.78 kB / 477.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.1163, allocations: 1.557 MB / 478.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1166, allocations: 0.6965 MB / 479.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.1166, allocations: 16.81 kB / 479.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.1167, allocations: 35.42 kB / 479.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1167, allocations: 0 / 479.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.091/2.208, allocations: 3.298 MB / 482.7 MB, free: 500 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/2.209, allocations: 241.9 kB / 482.9 MB, free: 240 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/3.981, allocations: 0 / 482.9 MB, free: 240 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches