Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_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.001167/0.001167, allocations: 103 kB / 16.27 MB, free: 5.973 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.0013/0.0013, allocations: 184.6 kB / 17.19 MB, free: 5.609 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.694/1.694, 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.2183/0.2183, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001572/0.001572, allocations: 73 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1207, allocations: 57.8 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00333/0.1241, allocations: 1.709 MB / 442.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1252, allocations: 0.8117 MB / 443.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.1253, allocations: 4 kB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.1257, allocations: 39.78 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1259, allocations: 55.69 kB / 443.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.1261, allocations: 83.77 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1263, allocations: 99.69 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1264, allocations: 8.172 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.1265, allocations: 43.78 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.1265, allocations: 35.84 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1266, allocations: 8 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1267, allocations: 71.84 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.1267, allocations: 11.98 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.1268, allocations: 31.8 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.127, allocations: 127.7 kB / 443.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.127, allocations: 3.984 kB / 443.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.127, allocations: 0 / 443.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.127, allocations: 3.938 kB / 443.8 MB, free: 3.641 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004642/0.1275, allocations: 406.9 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1275, allocations: 19.89 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.1276, allocations: 38.73 kB / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.1276, allocations: 8.844 kB / 444.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1278, allocations: 205.4 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1279, allocations: 384 / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1279, allocations: 7.938 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1281, allocations: 67.39 kB / 444.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1281, allocations: 0 / 444.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1281, allocations: 7.938 kB / 444.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1281, allocations: 0 / 444.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.1282, allocations: 31.97 kB / 444.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.1286, allocations: 292.8 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.1287, allocations: 62.53 kB / 444.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.1288, allocations: 20.98 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1288, allocations: 7.922 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.129, allocations: 67.39 kB / 445 MB, free: 2.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.129, allocations: 0 / 445 MB, free: 2.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004964/0.1295, allocations: 185.4 kB / 445.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.1295, allocations: 77.11 kB / 445.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1296, allocations: 160.8 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.1297, allocations: 33.7 kB / 445.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.1297, allocations: 96.05 kB / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1297, allocations: 27.64 kB / 445.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.1298, allocations: 25.72 kB / 445.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.1298, allocations: 322.8 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/0.1299, allocations: 19.98 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.1299, allocations: 54.44 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.864e-05/0.13, allocations: 65.73 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.13, allocations: 0 / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001571/0.1302, allocations: 101.5 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1302, allocations: 8 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1302, allocations: 0 / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1303, allocations: 0 / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.1304, allocations: 23.94 kB / 446.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.1304, allocations: 4.062 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.1304, allocations: 11.92 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.1305, allocations: 0 / 446.2 MB, free: 0.9727 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 (11): * Single equations (assignments): 11 * 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 9.299e-05/0.1306, allocations: 125.8 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1306, allocations: 7.906 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.1309, allocations: 110.3 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1309, allocations: 4 kB / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1309, allocations: 0 / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1309, allocations: 7.938 kB / 446.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.1313, allocations: 403.2 kB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1313, allocations: 0 / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.1313, allocations: 15.98 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1313, allocations: 7.938 kB / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1313, allocations: 0 / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1313, allocations: 3.938 kB / 446.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1313, allocations: 0 / 446.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1316, allocations: 208.3 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.686e-05/0.1317, allocations: 89.23 kB / 447.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.1317, allocations: 7.938 kB / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.1319, allocations: 4 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.132, allocations: 11.92 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.132, allocations: 8 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.1321, allocations: 119.2 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1322, allocations: 0 / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004953/0.1327, allocations: 35.94 kB / 447.3 MB, free: 15.71 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 (9): * Single equations (assignments): 7 * 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.002613/0.1353, allocations: 1.142 MB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000356/0.1357, allocations: 71.89 kB / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1357, allocations: 4 kB / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.1358, allocations: 31.92 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.1364, allocations: 32.91 kB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.139, allocations: 1.571 MB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.1395, allocations: 0.7002 MB / 450.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.845e-05/0.1396, allocations: 29.17 kB / 450.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1397, allocations: 31.42 kB / 450.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1397, allocations: 0 / 450.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.1619, allocations: 3.563 MB / 454.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.095, allocations: 15.89 kB / 454.5 MB, free: 8.43 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches