Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.005643/0.005643, allocations: 101.1 kB / 15.87 MB, free: 6.316 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.001297/0.001297, allocations: 192.5 kB / 16.79 MB, free: 6.242 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.415/1.415, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.3326/0.3326, allocations: 43.5 MB / 313.5 MB, free: 8.504 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.002177/0.002177, allocations: 74.55 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.122, allocations: 57.77 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003374/0.1254, allocations: 1.772 MB / 441.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1268, allocations: 0.7923 MB / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1269, allocations: 4 kB / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.1274, allocations: 111.7 kB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.1277, allocations: 71.78 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1281, allocations: 83.84 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.1284, allocations: 115.7 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1285, allocations: 19.97 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1287, allocations: 59.77 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1288, allocations: 63.75 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1289, allocations: 0 / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.129, allocations: 39.98 kB / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.1291, allocations: 35.83 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.402e-05/0.1292, allocations: 39.69 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.1295, allocations: 139.8 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1295, allocations: 0 / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1295, allocations: 0 / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1295, allocations: 0 / 443.3 MB, free: 11.38 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007638/0.1303, allocations: 446.7 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.1304, allocations: 8.031 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.101e-05/0.1304, allocations: 42.73 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.1305, allocations: 8.844 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.1308, allocations: 235.6 kB / 444 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1308, allocations: 8.375 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1308, allocations: 7.844 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.131, allocations: 77.53 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.131, allocations: 0 / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1311, allocations: 0 / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1311, allocations: 0 / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.985e-05/0.1312, allocations: 35.97 kB / 444.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.1316, allocations: 316.7 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1318, allocations: 78.72 kB / 444.5 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.1319, allocations: 24.84 kB / 444.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1319, allocations: 4 kB / 444.5 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.1321, allocations: 79.42 kB / 444.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.1321, allocations: 4 kB / 444.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006256/0.1328, allocations: 221 kB / 444.8 MB, free: 9.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1328, allocations: 59.34 kB / 444.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.1331, allocations: 242.5 kB / 445.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1331, allocations: 33.7 kB / 445.1 MB, free: 9.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.1332, allocations: 112.1 kB / 445.3 MB, free: 9.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.1333, allocations: 35.55 kB / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/0.1333, allocations: 37.66 kB / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1335, allocations: 326.8 kB / 445.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.1336, allocations: 27.98 kB / 445.7 MB, free: 8.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.226e-05/0.1337, allocations: 49.69 kB / 445.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1338, allocations: 77.66 kB / 445.8 MB, free: 8.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1338, allocations: 0 / 445.8 MB, free: 8.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000245/0.1341, allocations: 133.5 kB / 445.9 MB, free: 8.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1341, allocations: 4 kB / 445.9 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1341, allocations: 0 / 445.9 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1341, allocations: 4 kB / 445.9 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1343, allocations: 23.92 kB / 446 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1343, allocations: 7.875 kB / 446 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.1343, allocations: 8 kB / 446 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1344, allocations: 4.469 kB / 446 MB, free: 8.406 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 (13): * Single equations (assignments): 13 * 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.0001428/0.1345, allocations: 141.8 kB / 446.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.1345, allocations: 11.81 kB / 446.1 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.179e-05/0.1346, allocations: 21.41 kB / 446.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1346, allocations: 4 kB / 446.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1346, allocations: 3.938 kB / 446.2 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1347, allocations: 7.922 kB / 446.2 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.1351, allocations: 447.1 kB / 446.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1352, allocations: 3.969 kB / 446.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.1352, allocations: 19.98 kB / 446.6 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1352, allocations: 4 kB / 446.6 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1352, allocations: 0 / 446.6 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1352, allocations: 4 kB / 446.6 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1352, allocations: 3.984 kB / 446.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1355, allocations: 240.2 kB / 446.9 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.1356, allocations: 96.86 kB / 447 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.1356, allocations: 0 / 447 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.1357, allocations: 11.98 kB / 447 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.1357, allocations: 4 kB / 447 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1357, allocations: 11.97 kB / 447 MB, free: 7.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1359, allocations: 188.2 kB / 447.2 MB, free: 7.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1359, allocations: 0 / 447.2 MB, free: 7.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1361, allocations: 24 kB / 447.2 MB, free: 7.074 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 (11): * Single equations (assignments): 9 * 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.001453/0.1376, allocations: 1.141 MB / 448.3 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1378, allocations: 87.84 kB / 448.4 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1378, allocations: 0 / 448.4 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.1379, allocations: 39.92 kB / 448.5 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1382, allocations: 23.98 kB / 448.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1401, allocations: 1.909 MB / 450.4 MB, free: 3.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1404, allocations: 0.7243 MB / 451.1 MB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.1404, allocations: 21.06 kB / 451.1 MB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.1405, allocations: 47.41 kB / 451.2 MB, free: 2.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.974e-06/0.1405, allocations: 0 / 451.2 MB, free: 2.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5256/0.6661, allocations: 3.64 MB / 454.8 MB, free: 47.76 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.6664, allocations: 242.3 kB / 455.1 MB, free: 47.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.552, allocations: 3.75 kB / 455.1 MB, free: 47.51 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches