Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",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.0007118/0.0007117, allocations: 95.27 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.0007608/0.0007609, allocations: 170.1 kB / 18.25 MB, free: 5.508 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.342/1.342, allocations: 223.2 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.1971/0.1971, allocations: 44.25 MB / 337.7 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 12 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1265, allocations: 61.93 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002013/0.1286, allocations: 1.421 MB / 473.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1299, allocations: 0.8421 MB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.1299, allocations: 0 / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.1302, allocations: 35.91 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.1304, allocations: 43.83 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.1306, allocations: 99 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1308, allocations: 91.7 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.139e-05/0.1309, allocations: 16.22 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.131, allocations: 39.78 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.131, allocations: 27.86 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1311, allocations: 4 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.1312, allocations: 39.92 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.1312, allocations: 23.91 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.1313, allocations: 61.44 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1314, allocations: 107.9 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1315, allocations: 0 / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1315, allocations: 0 / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1315, allocations: 0 / 475.2 MB, free: 10.4 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.0004683/0.1319, allocations: 407.1 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.132, allocations: 12.03 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.132, allocations: 34.69 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.1321, allocations: 12.83 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1323, allocations: 212.7 kB / 475.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1323, allocations: 384 / 475.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.1323, allocations: 7.938 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1325, allocations: 53.67 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1325, allocations: 0 / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1325, allocations: 0 / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1325, allocations: 4 kB / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.827e-05/0.1326, allocations: 23.92 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.1329, allocations: 296.7 kB / 476.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1331, allocations: 58.67 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.1331, allocations: 24.86 kB / 476.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1332, allocations: 3.984 kB / 476.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.1333, allocations: 71.33 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1334, allocations: 0 / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004908/0.1338, allocations: 169.2 kB / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1339, allocations: 63.33 kB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.1341, allocations: 199.3 kB / 476.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1341, allocations: 29.7 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.1342, allocations: 104.1 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1342, allocations: 23.7 kB / 477 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.1342, allocations: 13.72 kB / 477 MB, free: 8.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1343, allocations: 322.8 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.1344, allocations: 23.98 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/0.1345, allocations: 33.7 kB / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1346, allocations: 65.64 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1346, allocations: 3.984 kB / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001643/0.1348, allocations: 93.59 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1348, allocations: 8 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1348, allocations: 0 / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.1348, allocations: 0 / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.1349, allocations: 19.92 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1349, allocations: 4 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.135, allocations: 11.91 kB / 477.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.135, allocations: 4 kB / 477.6 MB, free: 7.785 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.686e-05/0.1351, allocations: 129.8 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.1351, allocations: 15.81 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.1351, allocations: 13.56 kB / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1351, allocations: 0 / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1352, allocations: 4 kB / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.1352, allocations: 7.922 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.1356, allocations: 395.3 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1356, allocations: 4 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.1356, allocations: 4 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1356, allocations: 8.125 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1356, allocations: 0 / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1357, allocations: 3.938 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1357, allocations: 7.938 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.1359, allocations: 208.2 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1359, allocations: 85.02 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.136, allocations: 7.938 kB / 478.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.136, allocations: 8.359 kB / 478.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.1361, allocations: 3.984 kB / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1361, allocations: 4 kB / 478.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1362, allocations: 152.9 kB / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1362, allocations: 4 kB / 478.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1364, allocations: 23.98 kB / 478.6 MB, free: 6.613 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.001339/0.1378, allocations: 1.1 MB / 479.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.138, allocations: 63.91 kB / 479.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.138, allocations: 0 / 479.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.118e-05/0.138, allocations: 24 kB / 479.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1384, allocations: 32.09 kB / 479.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.1399, allocations: 1.678 MB / 481.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.1402, allocations: 0.7082 MB / 482.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.649e-05/0.1402, allocations: 12.88 kB / 482.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.1403, allocations: 43.36 kB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1403, allocations: 0 / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.1528, allocations: 3.001 MB / 485.3 MB, free: 128 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.1531, allocations: 234.3 kB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/1.903, allocations: 0 / 485.5 MB, free: 15.87 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches