Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.000732/0.0007321, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0008451/0.0008452, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.365/1.365, allocations: 223.3 MB / 242.3 MB, free: 208 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.1961/0.1961, allocations: 44.25 MB / 337.7 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002771, allocations: 12 kB / 410.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.0952, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.001973/0.09721, allocations: 1.429 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.09862, allocations: 0.8499 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.09874, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.09904, allocations: 43.83 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.09924, allocations: 43.84 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.09958, allocations: 103.8 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.09976, allocations: 91.7 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.09986, allocations: 8.219 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.188e-05/0.09996, allocations: 39.73 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.1, allocations: 35.83 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1001, allocations: 4 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1002, allocations: 55.97 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.1003, allocations: 15.92 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.1004, allocations: 69.38 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1006, allocations: 123.9 kB / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1006, allocations: 0 / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1006, allocations: 0 / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1006, allocations: 0 / 475.3 MB, free: 10.33 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.0004888/0.1011, allocations: 403.1 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1011, allocations: 8.031 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.1012, allocations: 34.69 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.1012, allocations: 8.844 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1015, allocations: 206.7 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1015, allocations: 4.312 kB / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.1015, allocations: 7.938 kB / 475.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1017, allocations: 67.39 kB / 476 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1017, allocations: 0 / 476 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1017, allocations: 4 kB / 476 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1017, allocations: 0 / 476 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.1018, allocations: 19.98 kB / 476 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1022, allocations: 284.7 kB / 476.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1024, allocations: 66.55 kB / 476.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.1024, allocations: 24.98 kB / 476.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1025, allocations: 7.984 kB / 476.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.1027, allocations: 71.39 kB / 476.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 4.328e-06/0.1027, allocations: 0 / 476.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000646/0.1033, allocations: 197.2 kB / 476.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.1034, allocations: 81.11 kB / 476.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1036, allocations: 155.4 kB / 476.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1036, allocations: 29.7 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.1036, allocations: 96.12 kB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.1037, allocations: 35.55 kB / 477 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.1037, allocations: 17.72 kB / 477.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1038, allocations: 322.8 kB / 477.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.1039, allocations: 31.98 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.104, allocations: 46.56 kB / 477.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1042, allocations: 81.56 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1042, allocations: 7.969 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002356/0.1044, allocations: 125.4 kB / 477.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1044, allocations: 4 kB / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1045, allocations: 0 / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1045, allocations: 8.031 kB / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1046, allocations: 27.92 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1046, allocations: 0 / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.1047, allocations: 4 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.1047, allocations: 4 kB / 477.7 MB, free: 7.633 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 (13): * Single equations (assignments): 13 * 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.0001075/0.1048, allocations: 129.8 kB / 477.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.1048, allocations: 11.91 kB / 477.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.1049, allocations: 16.66 kB / 477.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1049, allocations: 3.938 kB / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1049, allocations: 0 / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1049, allocations: 0 / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.1054, allocations: 427.2 kB / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1054, allocations: 4 kB / 478.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.1055, allocations: 11.94 kB / 478.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1055, allocations: 7.938 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1055, allocations: 0 / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1055, allocations: 3.984 kB / 478.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1055, allocations: 4 kB / 478.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.1058, allocations: 220.1 kB / 478.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.1058, allocations: 89 kB / 478.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1059, allocations: 8 kB / 478.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.106, allocations: 0 / 478.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.106, allocations: 7.984 kB / 478.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.106, allocations: 4 kB / 478.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.76e-05/0.1061, allocations: 124.9 kB / 478.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1061, allocations: 0 / 478.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1064, allocations: 36 kB / 478.8 MB, free: 6.438 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 (10): * Single equations (assignments): 8 * 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.00156/0.108, allocations: 1.168 MB / 480 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.1082, allocations: 79.91 kB / 480 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1082, allocations: 0 / 480 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/0.1083, allocations: 35.92 kB / 480.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1087, allocations: 29.86 kB / 480.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1104, allocations: 1.644 MB / 481.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1106, allocations: 0.7041 MB / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.265e-05/0.1107, allocations: 28.78 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.1108, allocations: 35.36 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1108, allocations: 0 / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.1242, allocations: 3.296 MB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.1244, allocations: 259.5 kB / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.937, allocations: 0 / 486.1 MB, free: 15.36 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches