Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.0008756/0.0008758, allocations: 90.75 kB / 17.35 MB, free: 6.031 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.0009705/0.0009705, allocations: 172.9 kB / 18.25 MB, free: 5.395 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.337/1.337, allocations: 223.3 MB / 242.3 MB, free: 204 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.2218/0.2218, allocations: 44.24 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 12.94 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002249/0.1247, allocations: 1.421 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1261, allocations: 0.8382 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.1262, allocations: 4 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.1265, allocations: 43.77 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.1267, allocations: 43.83 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.127, allocations: 91.83 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1272, allocations: 87.75 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1273, allocations: 12.23 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.931e-05/0.1274, allocations: 39.73 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.665e-05/0.1275, allocations: 31.83 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1275, allocations: 4 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.1276, allocations: 36 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.1277, allocations: 19.92 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.697e-05/0.1277, allocations: 61.42 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.128, allocations: 107.8 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1281, allocations: 4 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1281, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1281, allocations: 4 kB / 475.2 MB, free: 10.39 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.0006166/0.1287, allocations: 391.2 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1288, allocations: 12.03 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.358e-05/0.1288, allocations: 34.75 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.1289, allocations: 12.75 kB / 475.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.1291, allocations: 208 kB / 475.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1292, allocations: 384 / 475.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1292, allocations: 11.94 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1294, allocations: 57.61 kB / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1294, allocations: 4 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1294, allocations: 0 / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1294, allocations: 0 / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.1295, allocations: 23.98 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.13, allocations: 280.9 kB / 476.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1302, allocations: 66.61 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.1302, allocations: 16.86 kB / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1303, allocations: 7.984 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.1307, allocations: 71.31 kB / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1307, allocations: 0 / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005796/0.1313, allocations: 173.2 kB / 476.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.1313, allocations: 59.39 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.1316, allocations: 186.1 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1316, allocations: 25.7 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.1317, allocations: 104.1 kB / 476.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.1318, allocations: 19.72 kB / 476.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.1318, allocations: 21.7 kB / 477 MB, free: 8.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.132, allocations: 326.8 kB / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.818e-05/0.132, allocations: 20 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.1321, allocations: 37.64 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1322, allocations: 53.7 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1322, allocations: 0 / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.1324, allocations: 113.4 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1325, allocations: 4.031 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1325, allocations: 4 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1325, allocations: 4 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.1326, allocations: 12 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1326, allocations: 0 / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.1327, allocations: 11.92 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1327, allocations: 0 / 477.5 MB, free: 7.816 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.0001101/0.1328, allocations: 133.7 kB / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1328, allocations: 7.906 kB / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.1329, allocations: 20.7 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1329, allocations: 7.984 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1329, allocations: 0 / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1329, allocations: 3.938 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.1334, allocations: 387.5 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1334, allocations: 0 / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.1334, allocations: 8 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.1335, allocations: 11.92 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1335, allocations: 4.406 kB / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1335, allocations: 80 / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1335, allocations: 7.984 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.1337, allocations: 204.1 kB / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.1338, allocations: 85.2 kB / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1338, allocations: 15.92 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.1339, allocations: 7.938 kB / 478.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.1339, allocations: 4 kB / 478.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.134, allocations: 7.984 kB / 478.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.1341, allocations: 139.2 kB / 478.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1341, allocations: 4 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1344, allocations: 27.98 kB / 478.6 MB, free: 6.641 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.00158/0.1359, allocations: 1.102 MB / 479.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1361, allocations: 59.95 kB / 479.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1361, allocations: 0 / 479.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.1362, allocations: 31.94 kB / 479.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1366, allocations: 23.97 kB / 479.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.1385, allocations: 1.635 MB / 481.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/0.1392, allocations: 0.7121 MB / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.1392, allocations: 16.88 kB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.1393, allocations: 31.42 kB / 482.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1393, allocations: 0 / 482.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.1541, allocations: 2.953 MB / 485.2 MB, free: 248 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/0.1544, allocations: 238.4 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/1.925, allocations: 0 / 485.4 MB, free: 15.99 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches