Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",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.001143/0.001143, allocations: 95.83 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.001493/0.001493, allocations: 168 kB / 18.25 MB, free: 5.508 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.312/1.312, allocations: 223.3 MB / 242.3 MB, free: 14.49 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.1823/0.1823, allocations: 44.24 MB / 337.7 MB, free: 2.453 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003078, allocations: 12.28 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1134, allocations: 61.94 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001988/0.1154, allocations: 1.421 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1167, allocations: 0.8343 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.1167, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.117, allocations: 35.89 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.1172, allocations: 39.84 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1174, allocations: 95.77 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.1176, allocations: 99.67 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.1177, allocations: 8.234 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.089e-05/0.1178, allocations: 31.8 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.1178, allocations: 31.84 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1179, allocations: 0 / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.068e-05/0.118, allocations: 47.92 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.118, allocations: 15.92 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.891e-05/0.1181, allocations: 61.48 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1182, allocations: 103.9 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1183, allocations: 4 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1183, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1183, allocations: 0 / 475.2 MB, free: 10.38 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.0005188/0.1188, allocations: 397.3 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1188, allocations: 12.03 kB / 475.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.1189, allocations: 34.75 kB / 475.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.119, allocations: 12.83 kB / 475.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1192, allocations: 208 kB / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1192, allocations: 384 / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.1193, allocations: 7.938 kB / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1194, allocations: 53.67 kB / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1195, allocations: 0 / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1195, allocations: 3.984 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1195, allocations: 0 / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.1196, allocations: 23.98 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.12, allocations: 284.8 kB / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1201, allocations: 62.67 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.1202, allocations: 20.84 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1202, allocations: 4 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.1204, allocations: 71.33 kB / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1204, allocations: 0 / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005305/0.121, allocations: 165.3 kB / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.121, allocations: 55.34 kB / 476.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.1212, allocations: 173.8 kB / 476.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1212, allocations: 33.7 kB / 476.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.1213, allocations: 108 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1213, allocations: 15.75 kB / 476.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.1214, allocations: 17.7 kB / 476.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1215, allocations: 322.8 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.376e-05/0.1215, allocations: 20 kB / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.1216, allocations: 33.7 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1217, allocations: 69.64 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1217, allocations: 0 / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.1219, allocations: 93.5 kB / 477.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1219, allocations: 7.938 kB / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1219, allocations: 4.562 kB / 477.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.122, allocations: 3.984 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.1221, allocations: 23.86 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1221, allocations: 0 / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.1221, allocations: 15.94 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.1221, allocations: 8.031 kB / 477.5 MB, free: 7.824 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.0001113/0.1223, allocations: 124.9 kB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.1223, allocations: 7.906 kB / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.1223, allocations: 16.7 kB / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1223, allocations: 0 / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1223, allocations: 0 / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1224, allocations: 7.938 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.1228, allocations: 391.3 kB / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1228, allocations: 0 / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.1228, allocations: 8 kB / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1228, allocations: 3.938 kB / 478.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1228, allocations: 4 kB / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1229, allocations: 0 / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1229, allocations: 3.938 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1231, allocations: 212.2 kB / 478.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1231, allocations: 85.02 kB / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1232, allocations: 7.938 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.1232, allocations: 7.984 kB / 478.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.1233, allocations: 4 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.1233, allocations: 4 kB / 478.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.93e-05/0.1234, allocations: 139.1 kB / 478.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1234, allocations: 0 / 478.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1236, allocations: 28 kB / 478.5 MB, free: 6.684 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.001382/0.125, allocations: 1.094 MB / 479.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.1252, allocations: 59.91 kB / 479.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1252, allocations: 0 / 479.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.1253, allocations: 31.97 kB / 479.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1257, allocations: 23.98 kB / 479.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.1273, allocations: 1.625 MB / 481.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.1275, allocations: 0.7041 MB / 482.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.453e-05/0.1276, allocations: 21.17 kB / 482.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.1276, allocations: 39.36 kB / 482.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1276, allocations: 0 / 482.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.1406, allocations: 2.875 MB / 485 MB, free: 392 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.1408, allocations: 238.3 kB / 485.2 MB, free: 124 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/1.967, allocations: 3.938 kB / 485.3 MB, free: 120 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches