Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.001464/0.001464, allocations: 105.1 kB / 17.33 MB, free: 5.996 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.001486/0.001487, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.386/1.386, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2104/0.2104, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.03 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09007/0.09134, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003072/0.09445, allocations: 1.755 MB / 470.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.09579, allocations: 0.8576 MB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.09588, allocations: 3.938 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.09617, allocations: 51.81 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.0964, allocations: 51.83 kB / 471.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.09669, allocations: 91.83 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.09685, allocations: 99.7 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.09694, allocations: 8.219 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.09703, allocations: 47.72 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.0971, allocations: 35.84 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.09713, allocations: 8 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-05/0.09722, allocations: 39.98 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.09728, allocations: 27.91 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.09734, allocations: 47.62 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.09755, allocations: 127.8 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.09756, allocations: 0 / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09757, allocations: 0 / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.09758, allocations: 4 kB / 472.1 MB, free: 11.37 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.0004937/0.09808, allocations: 434.7 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.09812, allocations: 16.03 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.09817, allocations: 30.75 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.09822, allocations: 24.73 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.09844, allocations: 212 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.09846, allocations: 4.359 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.09849, allocations: 11.88 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.09863, allocations: 53.67 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.09864, allocations: 0 / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.09866, allocations: 0 / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.09867, allocations: 4 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/0.09874, allocations: 19.98 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.0991, allocations: 292.9 kB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.09927, allocations: 66.59 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.09933, allocations: 20.84 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.09936, allocations: 4 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.09953, allocations: 63.39 kB / 473.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.09955, allocations: 4 kB / 473.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004916/0.1, allocations: 188.9 kB / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1001, allocations: 55.41 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.1003, allocations: 266.9 kB / 473.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1004, allocations: 33.7 kB / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.1005, allocations: 112.1 kB / 474 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1005, allocations: 19.72 kB / 474 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.1005, allocations: 21.7 kB / 474 MB, free: 9.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1007, allocations: 330.8 kB / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.612e-05/0.1007, allocations: 23.81 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.1008, allocations: 37.7 kB / 474.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1009, allocations: 65.77 kB / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1009, allocations: 0 / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001877/0.1011, allocations: 109.4 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1011, allocations: 4 kB / 474.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1012, allocations: 0 / 474.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1012, allocations: 4 kB / 474.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.1013, allocations: 16 kB / 474.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1013, allocations: 0 / 474.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.1013, allocations: 20.27 kB / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1013, allocations: 0 / 474.6 MB, free: 8.605 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.0001381/0.1015, allocations: 137.8 kB / 474.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.1015, allocations: 15.81 kB / 474.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.1016, allocations: 21.41 kB / 474.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1016, allocations: 3.984 kB / 474.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1016, allocations: 0 / 474.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.1017, allocations: 3.938 kB / 474.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.1023, allocations: 399.3 kB / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1023, allocations: 4 kB / 475.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.1024, allocations: 7.984 kB / 475.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1024, allocations: 7.938 kB / 475.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1024, allocations: 0 / 475.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.1025, allocations: 0 / 475.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1025, allocations: 4 kB / 475.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.1028, allocations: 212.2 kB / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.1029, allocations: 88.92 kB / 475.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.103, allocations: 7.922 kB / 475.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1031, allocations: 8 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.1031, allocations: 4 kB / 475.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.1032, allocations: 7.984 kB / 475.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.1034, allocations: 196.2 kB / 475.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1035, allocations: 4 kB / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.1039, allocations: 24 kB / 475.7 MB, free: 7.367 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.001802/0.1057, allocations: 1.11 MB / 476.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.106, allocations: 59.92 kB / 476.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.106, allocations: 0 / 476.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1061, allocations: 27.97 kB / 476.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.1066, allocations: 34.53 kB / 477 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.1087, allocations: 1.821 MB / 478.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.1089, allocations: 0.7158 MB / 479.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.109, allocations: 20.88 kB / 479.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.1091, allocations: 39.42 kB / 479.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1091, allocations: 4 kB / 479.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.1287, allocations: 3.543 MB / 483.1 MB, free: 148 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003071/0.129, allocations: 231.2 kB / 483.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.182, allocations: 3.75 kB / 483.3 MB, free: 15.89 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches