Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",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.00082/0.00082, allocations: 92.7 kB / 17.35 MB, free: 6.371 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.000842/0.0008421, allocations: 175.2 kB / 18.25 MB, free: 5.523 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.266/1.266, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.1862/0.1862, allocations: 44.24 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002923, allocations: 12.23 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1152, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.001978/0.1172, allocations: 1.413 MB / 473.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1185, allocations: 0.8499 MB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.1186, allocations: 0 / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1189, allocations: 35.89 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.119, allocations: 47.77 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1193, allocations: 94.2 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1194, allocations: 87.7 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.1195, allocations: 12.23 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.4e-05/0.1196, allocations: 39.78 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.1197, allocations: 31.78 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1197, allocations: 4 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.1198, allocations: 39.98 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.1199, allocations: 23.91 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.1199, allocations: 53.45 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1201, allocations: 107.9 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1201, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1201, allocations: 8 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1201, allocations: 0 / 475.2 MB, free: 10.36 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.0004528/0.1206, allocations: 399 kB / 475.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1206, allocations: 8.031 kB / 475.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.1207, allocations: 34.75 kB / 475.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.1207, allocations: 12.75 kB / 475.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1209, allocations: 208.1 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1209, allocations: 384 / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1209, allocations: 15.94 kB / 475.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1211, allocations: 49.67 kB / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1211, allocations: 0 / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1211, allocations: 4 kB / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1211, allocations: 4 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.1212, allocations: 19.92 kB / 475.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1215, allocations: 280.9 kB / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1217, allocations: 62.67 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.1217, allocations: 28.84 kB / 476.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1218, allocations: 7.938 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.1219, allocations: 63.33 kB / 476.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1219, allocations: 0 / 476.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004728/0.1224, allocations: 177.2 kB / 476.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1225, allocations: 55.41 kB / 476.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1226, allocations: 186.1 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1227, allocations: 25.7 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.1227, allocations: 104.1 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.1227, allocations: 23.7 kB / 476.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.1228, allocations: 17.72 kB / 477 MB, free: 8.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.1229, allocations: 322.8 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.1229, allocations: 27.98 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.499e-05/0.123, allocations: 29.72 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1231, allocations: 61.62 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1231, allocations: 4 kB / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001633/0.1233, allocations: 105.4 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1233, allocations: 4 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1233, allocations: 4.031 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1233, allocations: 4 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.1234, allocations: 12 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1234, allocations: 0 / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.1235, allocations: 12.11 kB / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1235, allocations: 4 kB / 477.5 MB, free: 7.781 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.034e-05/0.1236, allocations: 125.8 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.1236, allocations: 7.906 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.1237, allocations: 20.86 kB / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1237, allocations: 7.984 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1237, allocations: 0 / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1237, allocations: 3.938 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.1241, allocations: 391.3 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1241, allocations: 4 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.1241, allocations: 11.92 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1241, allocations: 7.938 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1242, allocations: 4.031 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1242, allocations: 0 / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1242, allocations: 4 kB / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.1244, allocations: 200.2 kB / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.1244, allocations: 88.94 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1244, allocations: 12.31 kB / 478.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.1245, allocations: 4 kB / 478.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.1246, allocations: 7.984 kB / 478.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1246, allocations: 11.94 kB / 478.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1247, allocations: 147.2 kB / 478.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1247, allocations: 0 / 478.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1249, allocations: 23.98 kB / 478.6 MB, free: 6.609 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.001286/0.1262, allocations: 1.099 MB / 479.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.1264, allocations: 59.91 kB / 479.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1264, allocations: 3.938 kB / 479.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.1265, allocations: 35.92 kB / 479.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1268, allocations: 23.98 kB / 479.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1283, allocations: 1.646 MB / 481.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.1285, allocations: 0.7004 MB / 482.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.801e-05/0.1286, allocations: 16.88 kB / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.1286, allocations: 35.42 kB / 482.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1286, allocations: 0 / 482.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.1418, allocations: 2.941 MB / 485.2 MB, free: 216 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.1421, allocations: 239 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/1.856, allocations: 0 / 485.4 MB, free: 15.96 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches