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.001253/0.001253, allocations: 106.4 kB / 16.41 MB, free: 6.516 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.001237/0.001237, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.396/1.396, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2135/0.2135, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.002036/0.002036, allocations: 81.44 kB / 441.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1107, allocations: 57.8 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003317/0.1141, allocations: 1.701 MB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1156, allocations: 0.8194 MB / 0.4899 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.1157, allocations: 3.938 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.116, allocations: 43.77 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1163, allocations: 55.69 kB / 0.49 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1166, allocations: 91.77 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1168, allocations: 91.75 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1169, allocations: 20.2 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.117, allocations: 47.77 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.1171, allocations: 35.73 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1171, allocations: 4 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.1173, allocations: 63.95 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.1173, allocations: 15.92 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.1174, allocations: 35.81 kB / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.1177, allocations: 131.5 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1177, allocations: 0 / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1177, allocations: 0 / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1177, allocations: 0 / 0.4906 GB, free: 9.023 MB / 382.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.0006135/0.1183, allocations: 414.7 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1184, allocations: 15.89 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.1184, allocations: 30.75 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.1184, allocations: 12.84 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1188, allocations: 204.2 kB / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1188, allocations: 4.375 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1188, allocations: 7.938 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.119, allocations: 79.31 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.119, allocations: 3.953 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.119, allocations: 0 / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.119, allocations: 0 / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.469e-05/0.1191, allocations: 23.98 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.1195, allocations: 292.8 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1197, allocations: 58.5 kB / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.634e-05/0.1198, allocations: 24.97 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1198, allocations: 0 / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.1199, allocations: 75.38 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.12, allocations: 0 / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005701/0.1205, allocations: 189.3 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.1206, allocations: 85.05 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1208, allocations: 153.8 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1208, allocations: 25.7 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.1209, allocations: 96.12 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.1209, allocations: 35.73 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.121, allocations: 29.66 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1211, allocations: 318.8 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.1212, allocations: 23.98 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.631e-05/0.1213, allocations: 42.56 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1214, allocations: 65.73 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1214, allocations: 0 / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001945/0.1216, allocations: 105.5 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1216, allocations: 8 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1216, allocations: 0 / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1217, allocations: 0 / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.3e-05/0.1218, allocations: 19.98 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1218, allocations: 0 / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.1218, allocations: 7.938 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.1219, allocations: 4 kB / 0.4929 GB, free: 6.355 MB / 382.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 0.0001278/0.122, allocations: 137.5 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.122, allocations: 7.953 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.1223, allocations: 122.9 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1223, allocations: 4 kB / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1223, allocations: 0 / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.1223, allocations: 3.938 kB / 0.4932 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.1228, allocations: 403.3 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1228, allocations: 0 / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.1229, allocations: 11.94 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.1229, allocations: 7.922 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1229, allocations: 15.92 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1229, allocations: 0 / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1229, allocations: 0 / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.1232, allocations: 208.3 kB / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.1232, allocations: 85.06 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1232, allocations: 7.922 kB / 0.4939 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.1233, allocations: 4 kB / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.1234, allocations: 8 kB / 0.4939 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1234, allocations: 7.984 kB / 0.4939 GB, free: 5.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1235, allocations: 114.5 kB / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1235, allocations: 0 / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1238, allocations: 31.92 kB / 0.494 GB, free: 5.09 MB / 382.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.002231/0.126, allocations: 1.147 MB / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1262, allocations: 63.91 kB / 0.4952 GB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1262, allocations: 0 / 0.4952 GB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.1263, allocations: 43.97 kB / 0.4953 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.1267, allocations: 28.12 kB / 0.4953 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.1284, allocations: 1.574 MB / 0.4968 GB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1288, allocations: 0.7002 MB / 0.4975 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.894e-05/0.1289, allocations: 12.88 kB / 0.4975 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.129, allocations: 35.42 kB / 0.4976 GB, free: 1.391 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.129, allocations: 0 / 0.4976 GB, free: 1.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.1545, allocations: 3.652 MB / 0.5011 GB, free: 13.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.17, allocations: 4.062 kB / 0.5011 GB, free: 13.66 MB / 398.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