Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",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.001234/0.001234, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 202.7 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4082/0.4082, allocations: 43.5 MB / 313.5 MB, free: 8.473 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 75.89 kB / 382.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1209, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003264/0.1242, allocations: 1.749 MB / 441.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.1262, allocations: 1.371 MB / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.1263, allocations: 0 / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.1266, allocations: 39.83 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1268, allocations: 47.83 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1271, allocations: 79.84 kB / 443.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1272, allocations: 95.69 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.1273, allocations: 8.219 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.1274, allocations: 43.8 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1276, allocations: 43.77 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1276, allocations: 0 / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1277, allocations: 63.91 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.1278, allocations: 15.92 kB / 443.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.1278, allocations: 27.8 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.128, allocations: 115.9 kB / 443.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1281, allocations: 4 kB / 443.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1281, allocations: 0 / 443.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1281, allocations: 0 / 443.6 MB, free: 11.03 MB / 382.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.0005103/0.1286, allocations: 419 kB / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1286, allocations: 8.031 kB / 444 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1287, allocations: 30.75 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1287, allocations: 12.83 kB / 444.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1289, allocations: 204.2 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.129, allocations: 384 / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.129, allocations: 7.938 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1292, allocations: 79.25 kB / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1292, allocations: 11.89 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1292, allocations: 4 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1292, allocations: 4 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.1293, allocations: 15.98 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.1296, allocations: 276.9 kB / 444.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1298, allocations: 62.62 kB / 444.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.1299, allocations: 20.84 kB / 444.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1299, allocations: 0 / 444.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.1301, allocations: 71.39 kB / 444.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1301, allocations: 0 / 444.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005283/0.1306, allocations: 173.2 kB / 445 MB, free: 9.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.1307, allocations: 81.11 kB / 445.1 MB, free: 9.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1308, allocations: 157 kB / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1309, allocations: 25.7 kB / 445.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.1309, allocations: 96.14 kB / 445.3 MB, free: 9.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.1309, allocations: 31.62 kB / 445.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.131, allocations: 21.72 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1311, allocations: 318.8 kB / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.1312, allocations: 23.98 kB / 445.7 MB, free: 8.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.1312, allocations: 50.5 kB / 445.8 MB, free: 8.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1314, allocations: 49.72 kB / 445.8 MB, free: 8.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1314, allocations: 192 / 445.8 MB, free: 8.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.1316, allocations: 105.5 kB / 445.9 MB, free: 8.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1316, allocations: 7.938 kB / 445.9 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1316, allocations: 0 / 445.9 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1316, allocations: 4.062 kB / 445.9 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.1317, allocations: 19.98 kB / 446 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1317, allocations: 0 / 446 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.1318, allocations: 7.844 kB / 446 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1318, allocations: 4 kB / 446 MB, free: 8.414 MB / 382.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.564e-05/0.1319, allocations: 129.7 kB / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1319, allocations: 11.89 kB / 446.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.132, allocations: 13.09 kB / 446.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.132, allocations: 0 / 446.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.132, allocations: 4 kB / 446.1 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.132, allocations: 7.875 kB / 446.1 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.1325, allocations: 395.3 kB / 446.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1325, allocations: 0 / 446.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.1325, allocations: 8 kB / 446.5 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.1325, allocations: 7.938 kB / 446.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1326, allocations: 0 / 446.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1326, allocations: 240 / 446.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1326, allocations: 4.031 kB / 446.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1328, allocations: 204.3 kB / 446.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.1329, allocations: 92.94 kB / 446.8 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.1329, allocations: 3.938 kB / 446.8 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.133, allocations: 4 kB / 446.8 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.133, allocations: 11.98 kB / 446.9 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.133, allocations: 8 kB / 446.9 MB, free: 7.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.833e-05/0.1331, allocations: 115.2 kB / 447 MB, free: 7.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1332, allocations: 0 / 447 MB, free: 7.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1334, allocations: 28 kB / 447 MB, free: 7.281 MB / 382.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.00146/0.1349, allocations: 1.133 MB / 448.1 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.1351, allocations: 63.97 kB / 448.2 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1351, allocations: 0 / 448.2 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.1352, allocations: 35.92 kB / 448.2 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1355, allocations: 32.08 kB / 448.3 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.1371, allocations: 1.568 MB / 449.8 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1374, allocations: 0.6926 MB / 450.5 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.489e-05/0.1374, allocations: 24.88 kB / 450.5 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.1375, allocations: 31.42 kB / 450.6 MB, free: 3.602 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1375, allocations: 0 / 450.6 MB, free: 3.602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.1521, allocations: 3.276 MB / 453.9 MB, free: 308 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.1524, allocations: 239.1 kB / 454.1 MB, free: 44 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.819, allocations: 0 / 454.1 MB, free: 44 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches