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.00138/0.001379, allocations: 104 kB / 17.63 MB, free: 5.543 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.001267/0.001267, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.341/1.341, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2204/0.2204, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001502, allocations: 69.17 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1062, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003949/0.1102, allocations: 1.696 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1119, allocations: 0.8769 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.112, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.1123, allocations: 39.77 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.1126, allocations: 55.75 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.1129, allocations: 107.6 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1131, allocations: 99.69 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.1132, allocations: 8.219 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.1133, allocations: 39.8 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.1134, allocations: 31.84 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1135, allocations: 4 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1136, allocations: 47.92 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.1137, allocations: 23.86 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.1138, allocations: 27.81 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.114, allocations: 107.9 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.114, allocations: 0 / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.114, allocations: 0 / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.114, allocations: 4 kB / 472.5 MB, free: 11.09 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.0005885/0.1146, allocations: 407 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1147, allocations: 12.03 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.1147, allocations: 34.75 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.1148, allocations: 8.844 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1151, allocations: 217.6 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1151, allocations: 384 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1151, allocations: 7.938 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1153, allocations: 57.66 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1153, allocations: 0 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1153, allocations: 0 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1153, allocations: 0 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.382e-05/0.1154, allocations: 23.98 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.1157, allocations: 288.8 kB / 473.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1159, allocations: 54.69 kB / 473.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.116, allocations: 20.84 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.116, allocations: 0 / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.1162, allocations: 79.23 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1162, allocations: 0 / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005305/0.1168, allocations: 169.3 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1168, allocations: 55.34 kB / 473.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.117, allocations: 173.8 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.117, allocations: 29.7 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.1171, allocations: 104.1 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.1171, allocations: 31.64 kB / 474.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.1172, allocations: 21.72 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1173, allocations: 318.8 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.1173, allocations: 23.98 kB / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.423e-05/0.1174, allocations: 33.7 kB / 474.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1175, allocations: 65.66 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1175, allocations: 3.938 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001863/0.1177, allocations: 97.67 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1178, allocations: 8 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1178, allocations: 3.938 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1178, allocations: 0 / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.1179, allocations: 19.92 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1179, allocations: 4 kB / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.1179, allocations: 7.938 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.118, allocations: 4.031 kB / 474.9 MB, free: 8.516 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 9.383e-05/0.1181, allocations: 124.5 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.1181, allocations: 11.89 kB / 475 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.1181, allocations: 12.72 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1181, allocations: 0 / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1182, allocations: 4 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1182, allocations: 3.938 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.1186, allocations: 391.3 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1186, allocations: 0 / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1186, allocations: 12.36 kB / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1186, allocations: 3.938 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1187, allocations: 4 kB / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1187, allocations: 4 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1187, allocations: 3.938 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.1189, allocations: 208.2 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.119, allocations: 85.02 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.119, allocations: 3.938 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.1191, allocations: 11.98 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1191, allocations: 4 kB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.1191, allocations: 0 / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1192, allocations: 139.1 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1192, allocations: 0 / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1195, allocations: 20 kB / 475.9 MB, free: 7.383 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.001529/0.121, allocations: 1.108 MB / 477 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1212, allocations: 59.92 kB / 477.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1213, allocations: 0 / 477.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.1213, allocations: 31.92 kB / 477.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1217, allocations: 35 kB / 477.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.1233, allocations: 1.605 MB / 478.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1235, allocations: 0.7041 MB / 479.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.436e-05/0.1236, allocations: 13.19 kB / 479.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.1237, allocations: 35.42 kB / 479.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1237, allocations: 0 / 479.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.143, allocations: 3.229 MB / 482.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/7.634, allocations: 8.266 kB / 482.7 MB, free: 0.6797 MB / 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