Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.0008048/0.0008048, allocations: 93.42 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.0008611/0.0008612, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.329/1.329, allocations: 223.2 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.1988/0.1988, allocations: 44.25 MB / 337.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 12 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 61.93 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001818/0.1225, allocations: 1.413 MB / 473.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1237, allocations: 0.8499 MB / 474.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.1237, allocations: 0 / 474.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.124, allocations: 79.83 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1242, allocations: 59.81 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.1245, allocations: 99.75 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1246, allocations: 99.69 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.1247, allocations: 20.22 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.971e-05/0.1248, allocations: 47.77 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.532e-05/0.1249, allocations: 51.83 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1249, allocations: 0 / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.125, allocations: 43.92 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.1251, allocations: 19.92 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.1251, allocations: 61.42 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1253, allocations: 115.9 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1253, allocations: 0 / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1253, allocations: 3.938 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.1254, allocations: 4 kB / 475.3 MB, free: 10.22 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.0004406/0.1258, allocations: 399.1 kB / 475.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1258, allocations: 12.03 kB / 475.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.1259, allocations: 34.69 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.1259, allocations: 12.83 kB / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1261, allocations: 204 kB / 476 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1261, allocations: 8.312 kB / 476 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1262, allocations: 7.938 kB / 476 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1263, allocations: 57.67 kB / 476 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1263, allocations: 3.984 kB / 476 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1263, allocations: 0 / 476 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1263, allocations: 4 kB / 476 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.95e-05/0.1264, allocations: 15.98 kB / 476.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.1267, allocations: 288.8 kB / 476.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1269, allocations: 58.69 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/0.127, allocations: 20.84 kB / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.127, allocations: 0 / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.1272, allocations: 71.33 kB / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1272, allocations: 0 / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004904/0.1277, allocations: 181.1 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1277, allocations: 55.34 kB / 476.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1279, allocations: 231 kB / 476.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1279, allocations: 25.7 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.128, allocations: 100.1 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.128, allocations: 27.64 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.1281, allocations: 13.72 kB / 477.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.1282, allocations: 326.8 kB / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.1282, allocations: 23.98 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.936e-05/0.1283, allocations: 33.7 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1284, allocations: 61.64 kB / 477.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1284, allocations: 0 / 477.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001693/0.1286, allocations: 101.6 kB / 477.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1286, allocations: 4 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1286, allocations: 0 / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1286, allocations: 8.031 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/0.1287, allocations: 20.3 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1287, allocations: 0 / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.1288, allocations: 11.94 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1288, allocations: 4 kB / 477.7 MB, free: 7.594 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.498e-05/0.1289, allocations: 129.8 kB / 477.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1289, allocations: 15.81 kB / 477.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.129, allocations: 17.39 kB / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.129, allocations: 8.188 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.129, allocations: 0 / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.129, allocations: 7.875 kB / 477.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.1294, allocations: 391.5 kB / 478.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1294, allocations: 0 / 478.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.1295, allocations: 8 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1295, allocations: 3.938 kB / 478.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1295, allocations: 7.984 kB / 478.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1295, allocations: 7.969 kB / 478.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1295, allocations: 80 / 478.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.1297, allocations: 204.2 kB / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.1298, allocations: 85.02 kB / 478.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1298, allocations: 11.92 kB / 478.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.1299, allocations: 4 kB / 478.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.1299, allocations: 11.94 kB / 478.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1299, allocations: 7.984 kB / 478.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1301, allocations: 159.2 kB / 478.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1301, allocations: 0 / 478.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1303, allocations: 24 kB / 478.8 MB, free: 6.406 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.001376/0.1317, allocations: 1.092 MB / 479.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.1319, allocations: 59.91 kB / 479.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1319, allocations: 4.062 kB / 479.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.349e-05/0.1319, allocations: 27.98 kB / 480 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1323, allocations: 27.98 kB / 480 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.1339, allocations: 1.716 MB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1342, allocations: 0.7043 MB / 482.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.1342, allocations: 28.8 kB / 482.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.1343, allocations: 31.42 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1343, allocations: 0 / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.1491, allocations: 3.053 MB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003221/0.1495, allocations: 230.3 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.847, allocations: 4 kB / 485.7 MB, free: 15.58 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches