Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",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.001089/0.001089, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0009854/0.0009854, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.321/1.321, allocations: 223.3 MB / 242.3 MB, free: 220 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.2153/0.2153, allocations: 44.24 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.000311, allocations: 13.47 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002017/0.1214, allocations: 1.425 MB / 473.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1229, allocations: 0.8421 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.123, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1233, allocations: 35.89 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1235, allocations: 47.83 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1238, allocations: 95.02 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.124, allocations: 95.69 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.1241, allocations: 12.23 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.1242, allocations: 35.78 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.1243, allocations: 27.86 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1244, allocations: 4 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1245, allocations: 43.92 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.1245, allocations: 23.91 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.1246, allocations: 61.44 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1248, allocations: 111.9 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1248, allocations: 3.938 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1248, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1248, allocations: 0 / 475.2 MB, free: 10.37 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.0005334/0.1254, allocations: 399.1 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1254, allocations: 8.031 kB / 475.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.1255, allocations: 38.69 kB / 475.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.1255, allocations: 16.78 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1257, allocations: 208.8 kB / 475.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1257, allocations: 384 / 475.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.855e-05/0.1257, allocations: 7.938 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.1259, allocations: 57.67 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.126, allocations: 0 / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.126, allocations: 0 / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.126, allocations: 0 / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.254e-05/0.1261, allocations: 19.98 kB / 476 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.1264, allocations: 304.7 kB / 476.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.1266, allocations: 54.69 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.1266, allocations: 20.84 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1267, allocations: 4 kB / 476.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.1269, allocations: 71.33 kB / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1269, allocations: 0 / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005518/0.1274, allocations: 177.1 kB / 476.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1275, allocations: 51.41 kB / 476.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1277, allocations: 203.3 kB / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1277, allocations: 29.7 kB / 476.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.1278, allocations: 100.1 kB / 477 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.1278, allocations: 23.72 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1278, allocations: 17.72 kB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.128, allocations: 326.8 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.128, allocations: 20 kB / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.1281, allocations: 33.7 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1282, allocations: 61.62 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1283, allocations: 8 kB / 477.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001857/0.1284, allocations: 93.59 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1285, allocations: 6.5 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1285, allocations: 0 / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1285, allocations: 4.188 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.119e-05/0.1286, allocations: 19.92 kB / 477.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.1286, allocations: 3.938 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.1287, allocations: 11.88 kB / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1287, allocations: 4 kB / 477.6 MB, free: 7.766 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.0001107/0.1288, allocations: 137.8 kB / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.1288, allocations: 15.81 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.1289, allocations: 17.39 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1289, allocations: 0 / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1289, allocations: 0 / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1289, allocations: 3.938 kB / 477.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.1294, allocations: 395.5 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1294, allocations: 4.031 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.1294, allocations: 8.375 kB / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.1294, allocations: 7.922 kB / 478.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1294, allocations: 4 kB / 478.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1294, allocations: 7.938 kB / 478.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1295, allocations: 0 / 478.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.1297, allocations: 204.2 kB / 478.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.1298, allocations: 89.02 kB / 478.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1298, allocations: 11.92 kB / 478.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.1299, allocations: 0 / 478.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.1299, allocations: 4 kB / 478.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.1299, allocations: 7.984 kB / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1301, allocations: 152.9 kB / 478.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1301, allocations: 0 / 478.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1303, allocations: 20 kB / 478.6 MB, free: 6.594 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.001537/0.1319, allocations: 1.103 MB / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.1321, allocations: 63.91 kB / 479.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1321, allocations: 0 / 479.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.862e-05/0.1321, allocations: 27.98 kB / 479.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1325, allocations: 22.95 kB / 479.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1343, allocations: 1.678 MB / 481.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.1347, allocations: 0.7083 MB / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.944e-05/0.1348, allocations: 16.86 kB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.1349, allocations: 39.42 kB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1349, allocations: 0 / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.1487, allocations: 3.001 MB / 485.3 MB, free: 104 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.1489, allocations: 233.5 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/1.895, allocations: 0 / 485.5 MB, free: 15.85 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches