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.0007384/0.0007384, allocations: 95.91 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.0007966/0.0007967, allocations: 179.3 kB / 18.26 MB, free: 5.52 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.276/1.276, allocations: 223.3 MB / 242.3 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1884/0.1884, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 12 kB / 410.5 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002197/0.1146, allocations: 1.421 MB / 473.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1162, allocations: 0.8421 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.1163, allocations: 0 / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1167, allocations: 75.83 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.117, allocations: 67.8 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.1173, allocations: 103.2 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.1175, allocations: 103.7 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1177, allocations: 12.23 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1178, allocations: 47.77 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.1179, allocations: 59.75 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1179, allocations: 4 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1181, allocations: 39.98 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.1181, allocations: 19.92 kB / 475.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.807e-05/0.1182, allocations: 61.44 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.1184, allocations: 111.9 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1184, allocations: 3.938 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1184, allocations: 3.984 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1184, allocations: 0 / 475.3 MB, free: 10.28 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.0005843/0.119, allocations: 409.2 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1191, allocations: 8.031 kB / 475.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.1191, allocations: 34.75 kB / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.1192, allocations: 8.844 kB / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1194, allocations: 216 kB / 476 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1195, allocations: 4.375 kB / 476 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1195, allocations: 11.88 kB / 476 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1196, allocations: 53.67 kB / 476.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1197, allocations: 0 / 476.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1197, allocations: 0 / 476.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1197, allocations: 0 / 476.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.1198, allocations: 23.92 kB / 476.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.1202, allocations: 292.9 kB / 476.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1203, allocations: 50.69 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.1204, allocations: 24.84 kB / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1204, allocations: 0 / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.1206, allocations: 67.33 kB / 476.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/0.1206, allocations: 4 kB / 476.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000569/0.1212, allocations: 189.1 kB / 476.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.1213, allocations: 51.41 kB / 476.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1215, allocations: 219.1 kB / 477 MB, free: 8.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1215, allocations: 29.7 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.1216, allocations: 104.1 kB / 477.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.1216, allocations: 27.64 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.1217, allocations: 13.72 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1218, allocations: 326.8 kB / 477.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.1219, allocations: 23.98 kB / 477.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.1219, allocations: 37.7 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.122, allocations: 53.66 kB / 477.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.122, allocations: 0 / 477.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.1223, allocations: 109.6 kB / 477.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1223, allocations: 4 kB / 477.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1223, allocations: 3.938 kB / 477.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1223, allocations: 384 / 477.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.1224, allocations: 19.98 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1224, allocations: 0 / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.1225, allocations: 11.94 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1225, allocations: 0 / 477.7 MB, free: 7.648 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.0001042/0.1226, allocations: 129.8 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.1226, allocations: 15.81 kB / 477.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.1227, allocations: 17.41 kB / 477.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1227, allocations: 0 / 477.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1227, allocations: 192 / 477.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1227, allocations: 7.922 kB / 477.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.1232, allocations: 391.4 kB / 478.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1232, allocations: 4 kB / 478.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.1232, allocations: 11.94 kB / 478.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1232, allocations: 7.969 kB / 478.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1232, allocations: 4 kB / 478.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1232, allocations: 4.062 kB / 478.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.1233, allocations: 7.984 kB / 478.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1235, allocations: 200.2 kB / 478.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.1235, allocations: 89.02 kB / 478.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1236, allocations: 3.938 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.1236, allocations: 15.92 kB / 478.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.1237, allocations: 8 kB / 478.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.1237, allocations: 3.984 kB / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1238, allocations: 163.2 kB / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1239, allocations: 3.938 kB / 478.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1241, allocations: 24 kB / 478.8 MB, free: 6.453 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.001391/0.1255, allocations: 1.08 MB / 479.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.1257, allocations: 67.89 kB / 479.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1257, allocations: 4 kB / 479.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.747e-05/0.1258, allocations: 27.92 kB / 480 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1261, allocations: 23.98 kB / 480 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.1278, allocations: 1.713 MB / 481.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.128, allocations: 0.7083 MB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.041e-05/0.1281, allocations: 24.47 kB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.1282, allocations: 39.42 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1282, allocations: 0 / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.1418, allocations: 3.053 MB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.142, allocations: 237.5 kB / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.848, allocations: 0 / 485.8 MB, free: 15.63 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches