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.001462/0.001462, allocations: 108.6 kB / 17.21 MB, free: 6.289 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.001459/0.001459, allocations: 194 kB / 18.12 MB, free: 5.383 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.482/1.482, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2342/0.2342, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 69.2 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1308, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00363/0.1345, allocations: 1.757 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1361, allocations: 0.8576 MB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1363, allocations: 3.938 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.1366, allocations: 43.83 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.1369, allocations: 47.83 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1373, allocations: 103.5 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.1376, allocations: 91.7 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1377, allocations: 8.219 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1378, allocations: 39.73 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.1379, allocations: 31.84 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1379, allocations: 0 / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.1381, allocations: 39.98 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.1382, allocations: 23.92 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.1382, allocations: 43.72 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1385, allocations: 107.9 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1385, allocations: 7.938 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1385, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1385, allocations: 0 / 471.8 MB, free: 11.52 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.0005982/0.1391, allocations: 422.9 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1392, allocations: 12.03 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.1392, allocations: 30.75 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.1393, allocations: 8.844 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1395, allocations: 212.8 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1395, allocations: 384 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1395, allocations: 7.938 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1397, allocations: 57.61 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1397, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1397, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1397, allocations: 4 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.83e-05/0.1398, allocations: 19.98 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.1402, allocations: 296.8 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1404, allocations: 58.61 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.1405, allocations: 16.86 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1405, allocations: 4 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.1407, allocations: 71.38 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1407, allocations: 0 / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005741/0.1413, allocations: 173.2 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.1414, allocations: 55.41 kB / 473.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1416, allocations: 199.3 kB / 473.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1416, allocations: 33.69 kB / 473.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.1417, allocations: 100.1 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.1417, allocations: 23.7 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.1418, allocations: 21.72 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1419, allocations: 326.8 kB / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.142, allocations: 23.92 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.849e-05/0.1421, allocations: 37.64 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1422, allocations: 61.7 kB / 474.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1422, allocations: 4 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002308/0.1425, allocations: 101.4 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1425, allocations: 8 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1425, allocations: 0 / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1425, allocations: 7.922 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.1426, allocations: 19.98 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1426, allocations: 4 kB / 474.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.1427, allocations: 3.938 kB / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1427, allocations: 4 kB / 474.2 MB, free: 8.887 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.0001303/0.1429, allocations: 137.7 kB / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.1429, allocations: 11.91 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.1429, allocations: 13.41 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1429, allocations: 0 / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1429, allocations: 3.984 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.143, allocations: 7.938 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.1434, allocations: 387.3 kB / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1434, allocations: 4.406 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.1435, allocations: 8 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.1435, allocations: 11.94 kB / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1435, allocations: 0 / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1435, allocations: 3.984 kB / 474.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1435, allocations: 0 / 474.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1438, allocations: 208.1 kB / 475 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.1438, allocations: 85.02 kB / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1438, allocations: 7.938 kB / 475.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.1439, allocations: 0 / 475.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.144, allocations: 11.98 kB / 475.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.144, allocations: 4 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1441, allocations: 151.9 kB / 475.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1441, allocations: 0 / 475.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1444, allocations: 20 kB / 475.3 MB, free: 7.727 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.001574/0.146, allocations: 1.102 MB / 476.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1462, allocations: 55.97 kB / 476.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1462, allocations: 0 / 476.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.432e-05/0.1463, allocations: 31.92 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1466, allocations: 27.97 kB / 476.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1485, allocations: 1.673 MB / 478.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1488, allocations: 0.7083 MB / 478.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.899e-05/0.1489, allocations: 17.17 kB / 478.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.149, allocations: 35.42 kB / 478.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.149, allocations: 0 / 478.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.1627, allocations: 3.198 MB / 482.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.1629, allocations: 237.8 kB / 482.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.041, allocations: 0 / 482.3 MB, free: 0.7734 MB / 350.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