Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",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.001231/0.001231, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001308/0.001308, allocations: 191.7 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2111/0.2111, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 73.22 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08741/0.0894, allocations: 57.78 MB / 440.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002966/0.09241, allocations: 1.701 MB / 442.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.09366, allocations: 0.8 MB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.09379, allocations: 0 / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.09412, allocations: 39.77 kB / 443.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.09432, allocations: 59.75 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.09458, allocations: 87.7 kB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.09473, allocations: 91.75 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.09485, allocations: 16.17 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.653e-05/0.09494, allocations: 39.73 kB / 443.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.09502, allocations: 31.84 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.09504, allocations: 8 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.09515, allocations: 39.98 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.09521, allocations: 19.91 kB / 443.6 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.09527, allocations: 31.75 kB / 443.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.09545, allocations: 111.7 kB / 443.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.09546, allocations: 0 / 443.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09547, allocations: 0 / 443.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.09548, allocations: 4 kB / 443.7 MB, free: 3.746 MB / 318.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.0004906/0.09597, allocations: 414.9 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.09602, allocations: 11.89 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.09606, allocations: 34.75 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.09611, allocations: 16.83 kB / 444.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.09628, allocations: 201 kB / 444.4 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.09631, allocations: 4.375 kB / 444.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.09633, allocations: 3.938 kB / 444.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.09647, allocations: 53.67 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.09649, allocations: 0 / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.09651, allocations: 7.984 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.09652, allocations: 3.938 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.877e-05/0.09659, allocations: 20 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.09691, allocations: 296.8 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.09706, allocations: 50.69 kB / 444.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.09712, allocations: 32.72 kB / 444.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.09716, allocations: 11.92 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.09733, allocations: 63.39 kB / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.09734, allocations: 0 / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005285/0.09787, allocations: 177.1 kB / 445.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.09792, allocations: 51.41 kB / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.09805, allocations: 190.1 kB / 445.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.09807, allocations: 37.69 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.09811, allocations: 100.1 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.09814, allocations: 23.7 kB / 445.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.09817, allocations: 17.72 kB / 445.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.09823, allocations: 322.8 kB / 445.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.09828, allocations: 23.98 kB / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-05/0.09834, allocations: 33.7 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.549e-05/0.09844, allocations: 69.64 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.09845, allocations: 0 / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001424/0.0986, allocations: 97.52 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.09862, allocations: 8 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.09863, allocations: 0 / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.09865, allocations: 0 / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.09874, allocations: 15.98 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.09875, allocations: 4 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.0988, allocations: 7.938 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.09881, allocations: 8.031 kB / 446.1 MB, free: 1.137 MB / 318.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 6.847e-05/0.09888, allocations: 129.7 kB / 446.2 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.09891, allocations: 11.81 kB / 446.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.09895, allocations: 16.72 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.09896, allocations: 0 / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.09897, allocations: 3.938 kB / 446.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.09898, allocations: 7.922 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.09929, allocations: 391.4 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.09931, allocations: 384 / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.09934, allocations: 11.94 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.09935, allocations: 3.938 kB / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.09936, allocations: 8 kB / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.09937, allocations: 4 kB / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.09937, allocations: 3.938 kB / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.09954, allocations: 196.5 kB / 446.8 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.09958, allocations: 88.91 kB / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.09961, allocations: 15.88 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.09967, allocations: 0 / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.09971, allocations: 11.92 kB / 446.9 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.09973, allocations: 4 kB / 446.9 MB, free: 136 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.09984, allocations: 139.3 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09985, allocations: 4 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1001, allocations: 23.98 kB / 447.1 MB, free: 15.96 MB / 334.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.001455/0.1016, allocations: 1.086 MB / 448.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1018, allocations: 67.89 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1018, allocations: 0 / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.47e-05/0.1019, allocations: 31.92 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1022, allocations: 31.16 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.104, allocations: 1.623 MB / 449.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.1043, allocations: 0.7079 MB / 450.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.462e-05/0.1044, allocations: 21.17 kB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.1045, allocations: 35.42 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1045, allocations: 0 / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.124, allocations: 3.3 MB / 454 MB, free: 8.988 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.62, allocations: 4 kB / 454 MB, free: 8.984 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches