Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",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.00135/0.00135, allocations: 108.8 kB / 17.33 MB, free: 6 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.001355/0.001355, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.454/1.454, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2234/0.2234, allocations: 44.17 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001436, allocations: 63.75 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1191, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003821/0.123, allocations: 1.761 MB / 470.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1246, allocations: 0.8575 MB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1247, allocations: 0 / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.1251, allocations: 43.83 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.1254, allocations: 47.83 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.1257, allocations: 87.83 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1259, allocations: 99.69 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1261, allocations: 8.234 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.636e-05/0.1262, allocations: 47.72 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.1263, allocations: 31.84 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1263, allocations: 8 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1264, allocations: 39.98 kB / 471.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.1265, allocations: 19.92 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.1265, allocations: 39.72 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1268, allocations: 111.9 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1268, allocations: 0 / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1268, allocations: 0 / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1268, allocations: 3.938 kB / 472 MB, free: 11.43 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.0006082/0.1274, allocations: 411 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.1275, allocations: 12.03 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/0.1275, allocations: 34.75 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.1276, allocations: 16.75 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1279, allocations: 200.1 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1279, allocations: 8.375 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1279, allocations: 3.938 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1281, allocations: 57.61 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1281, allocations: 0 / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1282, allocations: 0 / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.1282, allocations: 4 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.184e-05/0.1283, allocations: 19.98 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.1288, allocations: 284.9 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.129, allocations: 62.55 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.1291, allocations: 24.84 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.1291, allocations: 4 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.1294, allocations: 63.39 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1294, allocations: 0 / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006968/0.1301, allocations: 177.2 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.1302, allocations: 55.41 kB / 473.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.1304, allocations: 186.1 kB / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1304, allocations: 25.7 kB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.1305, allocations: 112.1 kB / 473.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.1306, allocations: 23.7 kB / 473.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.1306, allocations: 25.66 kB / 473.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1308, allocations: 322.8 kB / 474.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.1309, allocations: 23.98 kB / 474.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.131, allocations: 37.64 kB / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1311, allocations: 61.78 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1311, allocations: 384 / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002319/0.1313, allocations: 109.4 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1314, allocations: 4 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1314, allocations: 4 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1314, allocations: 4 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1315, allocations: 15.98 kB / 474.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1315, allocations: 0 / 474.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.1316, allocations: 11.97 kB / 474.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1316, allocations: 4 kB / 474.4 MB, free: 8.82 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.000141/0.1318, allocations: 132.9 kB / 474.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.1318, allocations: 7.906 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.1319, allocations: 12.72 kB / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1319, allocations: 4 kB / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1319, allocations: 0 / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1319, allocations: 3.938 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.1324, allocations: 391.3 kB / 474.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1325, allocations: 0 / 474.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.1325, allocations: 11.98 kB / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1325, allocations: 3.938 kB / 474.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1325, allocations: 0 / 474.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1325, allocations: 7.938 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1326, allocations: 0 / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.1328, allocations: 208.2 kB / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.1329, allocations: 85 kB / 475.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.1329, allocations: 15.86 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.133, allocations: 0 / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.1331, allocations: 11.98 kB / 475.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.1331, allocations: 4 kB / 475.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1332, allocations: 139.2 kB / 475.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1332, allocations: 0 / 475.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.1335, allocations: 35.98 kB / 475.4 MB, free: 7.66 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.001568/0.1351, allocations: 1.095 MB / 476.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.1353, allocations: 59.95 kB / 476.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1353, allocations: 0 / 476.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.1354, allocations: 35.92 kB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1358, allocations: 31.58 kB / 476.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.1378, allocations: 1.647 MB / 478.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1381, allocations: 0.7041 MB / 479 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.329e-05/0.1382, allocations: 13.19 kB / 479 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.1382, allocations: 31.42 kB / 479 MB, free: 4.082 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1382, allocations: 0 / 479 MB, free: 4.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.1515, allocations: 3.216 MB / 482.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.1517, allocations: 232.7 kB / 482.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.024, allocations: 3.938 kB / 482.5 MB, free: 0.7227 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches