Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.00132/0.00132, allocations: 113.8 kB / 17.32 MB, free: 5.961 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.00155/0.00155, allocations: 193.3 kB / 18.25 MB, free: 5.051 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.438/1.438, allocations: 222.9 MB / 241.9 MB, free: 15.34 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.2357/0.2357, allocations: 44.18 MB / 336.3 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.27 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.0036/0.1249, allocations: 1.769 MB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1264, allocations: 0.8653 MB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.1265, allocations: 0 / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.1269, allocations: 35.84 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.1272, allocations: 47.81 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.1275, allocations: 95.83 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.1278, allocations: 95.7 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1279, allocations: 8.234 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.128, allocations: 51.7 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.1281, allocations: 27.86 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1281, allocations: 4 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1283, allocations: 43.98 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.149e-05/0.1283, allocations: 23.91 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.1284, allocations: 31.75 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1286, allocations: 119.8 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1286, allocations: 0 / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1286, allocations: 0 / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1287, allocations: 4 kB / 472 MB, free: 11.38 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.0005486/0.1292, allocations: 418.9 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1293, allocations: 11.97 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.1293, allocations: 34.75 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.1293, allocations: 16.83 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1296, allocations: 208.8 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1296, allocations: 4.375 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1296, allocations: 3.938 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1298, allocations: 65.61 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1298, allocations: 0 / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1298, allocations: 3.984 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1298, allocations: 0 / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.1299, allocations: 19.98 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.1302, allocations: 284.8 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1304, allocations: 62.62 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.1305, allocations: 20.84 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1305, allocations: 0 / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.1307, allocations: 67.39 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1307, allocations: 0 / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005516/0.1313, allocations: 181.1 kB / 473.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1313, allocations: 55.41 kB / 473.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1315, allocations: 203.3 kB / 473.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1315, allocations: 25.7 kB / 473.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.1316, allocations: 104.1 kB / 473.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.1316, allocations: 19.72 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.1317, allocations: 25.7 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1318, allocations: 322.8 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.1319, allocations: 27.98 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.1319, allocations: 33.66 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1321, allocations: 62.06 kB / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1321, allocations: 0 / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.1323, allocations: 105.4 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1323, allocations: 6.656 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1323, allocations: 7.938 kB / 474.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1323, allocations: 8.031 kB / 474.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.1324, allocations: 12 kB / 474.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1324, allocations: 0 / 474.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.1325, allocations: 11.92 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1325, allocations: 4.188 kB / 474.4 MB, free: 8.742 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.411e-05/0.1326, allocations: 133.7 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.1326, allocations: 15.83 kB / 474.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.1327, allocations: 17.41 kB / 474.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1327, allocations: 4 kB / 474.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1327, allocations: 0 / 474.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1327, allocations: 3.938 kB / 474.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.1331, allocations: 391.3 kB / 475 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1331, allocations: 0 / 475 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.1331, allocations: 11.98 kB / 475 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1332, allocations: 3.938 kB / 475 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1332, allocations: 8 kB / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1332, allocations: 4.031 kB / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1332, allocations: 0 / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1334, allocations: 200.1 kB / 475.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.1335, allocations: 85.02 kB / 475.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1335, allocations: 11.92 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.1336, allocations: 4 kB / 475.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1336, allocations: 8 kB / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1336, allocations: 7.984 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.1337, allocations: 148.9 kB / 475.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1338, allocations: 0 / 475.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.134, allocations: 24 kB / 475.5 MB, free: 7.578 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.001683/0.1357, allocations: 1.099 MB / 476.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.1359, allocations: 63.91 kB / 476.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.1359, allocations: 4.062 kB / 476.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.136, allocations: 35.92 kB / 476.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.1363, allocations: 31.58 kB / 476.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.138, allocations: 1.67 MB / 478.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.1382, allocations: 0.708 MB / 479.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.538e-05/0.1383, allocations: 17.2 kB / 479.1 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.1383, allocations: 35.42 kB / 479.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1383, allocations: 3.938 kB / 479.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.1512, allocations: 3.26 MB / 482.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.1514, allocations: 242.1 kB / 482.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.02, allocations: 3.938 kB / 482.6 MB, free: 0.543 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches