Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",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.0009397/0.0009396, allocations: 94.27 kB / 17.35 MB, free: 6.371 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.001156/0.001156, allocations: 172.1 kB / 18.25 MB, free: 5.527 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.333/1.333, allocations: 223.3 MB / 242.3 MB, free: 14.51 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.2087/0.2087, allocations: 44.24 MB / 337.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003235, allocations: 8.281 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.125, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002241/0.1273, allocations: 1.421 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1287, allocations: 0.8382 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.1288, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1291, allocations: 39.89 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1293, allocations: 47.77 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1296, allocations: 102.2 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.1298, allocations: 91.7 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.1299, allocations: 8.219 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.124e-05/0.13, allocations: 35.8 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.1301, allocations: 35.78 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1302, allocations: 0 / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1303, allocations: 43.92 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.1303, allocations: 19.92 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.1304, allocations: 65.42 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1306, allocations: 107.9 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1307, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1307, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1307, 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.0005978/0.1313, allocations: 411 kB / 475.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1313, allocations: 8.031 kB / 475.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.1314, allocations: 38.69 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.1314, allocations: 8.844 kB / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1317, allocations: 208.8 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1317, allocations: 4.375 kB / 475.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1317, allocations: 7.938 kB / 475.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.1319, allocations: 49.67 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1319, allocations: 0 / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.132, allocations: 8 kB / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.132, allocations: 0 / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.296e-05/0.132, allocations: 19.92 kB / 476 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.1325, allocations: 296.8 kB / 476.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1327, allocations: 62.67 kB / 476.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1329, allocations: 20.86 kB / 476.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1329, allocations: 7.922 kB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.1331, allocations: 71.39 kB / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1331, allocations: 0 / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005719/0.1337, allocations: 169.2 kB / 476.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.1337, allocations: 55.39 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.134, allocations: 207.3 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.134, allocations: 25.7 kB / 476.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.1341, allocations: 96.14 kB / 476.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.1343, allocations: 23.7 kB / 477 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.1343, allocations: 21.72 kB / 477 MB, free: 8.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1344, allocations: 322.8 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.1345, allocations: 19.98 kB / 477.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.294e-05/0.1346, allocations: 37.7 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1347, allocations: 61.64 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1347, allocations: 192 / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.1349, allocations: 105.5 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.135, allocations: 10.28 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.135, allocations: 0 / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.135, allocations: 0 / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.104e-05/0.1351, allocations: 19.98 kB / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1351, allocations: 0 / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.1351, allocations: 15.88 kB / 477.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1352, allocations: 160 / 477.6 MB, free: 7.754 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.0001182/0.1353, allocations: 133.8 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.1353, allocations: 11.81 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.1354, allocations: 21.39 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1354, allocations: 7.984 kB / 477.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1354, allocations: 3.984 kB / 477.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1354, allocations: 3.938 kB / 477.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.1358, allocations: 387.3 kB / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1359, allocations: 0 / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.1359, allocations: 19.97 kB / 478.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.1359, allocations: 3.938 kB / 478.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1359, allocations: 4 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1359, allocations: 0 / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1359, allocations: 3.984 kB / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1362, allocations: 196.2 kB / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.1363, allocations: 89.02 kB / 478.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1363, allocations: 8.312 kB / 478.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.1364, allocations: 7.984 kB / 478.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.1364, allocations: 8 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.1365, allocations: 11.94 kB / 478.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1366, allocations: 148.9 kB / 478.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1366, allocations: 0 / 478.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1369, allocations: 23.98 kB / 478.6 MB, free: 6.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.002071/0.1389, allocations: 1.1 MB / 479.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1392, allocations: 59.89 kB / 479.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1392, allocations: 0 / 479.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.1392, allocations: 31.94 kB / 479.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1396, allocations: 31.09 kB / 479.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.1419, allocations: 1.678 MB / 481.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/0.1427, allocations: 0.7043 MB / 482.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.1428, allocations: 12.88 kB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/0.1429, allocations: 35.42 kB / 482.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1429, allocations: 0 / 482.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.1608, allocations: 3.006 MB / 485.3 MB, free: 92 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/0.1611, allocations: 233.4 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/1.909, allocations: 0 / 485.5 MB, free: 15.84 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches