Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.001473/0.001473, allocations: 104.3 kB / 17.63 MB, free: 5.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.001625/0.001625, allocations: 192 kB / 18.56 MB, free: 4.434 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.357/1.357, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2191/0.2191, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 61.5 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1335, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003572/0.1371, allocations: 1.704 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1387, allocations: 0.8769 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.957e-05/0.1388, allocations: 0 / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1391, allocations: 51.75 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.1394, allocations: 55.77 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1398, allocations: 111.6 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1399, allocations: 91.7 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.14, allocations: 12.22 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.662e-05/0.1401, allocations: 47.73 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-05/0.1402, allocations: 31.83 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1403, allocations: 4 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1404, allocations: 43.98 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.1404, allocations: 31.84 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.1405, allocations: 31.75 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1407, allocations: 119.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1408, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1408, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1408, allocations: 0 / 472.6 MB, free: 11.04 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.0005422/0.1413, allocations: 422.9 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1414, allocations: 12.03 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.1414, allocations: 38.73 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.1415, allocations: 12.75 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1417, allocations: 212 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1417, allocations: 12.36 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1418, allocations: 3.938 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.1419, allocations: 53.67 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1419, allocations: 0 / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1419, allocations: 8 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1419, allocations: 0 / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.503e-05/0.142, allocations: 15.98 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.1424, allocations: 296.7 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1426, allocations: 58.67 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.1426, allocations: 20.86 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1427, allocations: 4 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.1429, allocations: 63.39 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.136e-06/0.1429, allocations: 0 / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005496/0.1434, allocations: 169.5 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.1435, allocations: 55.41 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1437, allocations: 238.4 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1437, allocations: 29.7 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.1438, allocations: 108.1 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.1438, allocations: 27.64 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.1439, allocations: 17.72 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.144, allocations: 326.8 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.1441, allocations: 24.05 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.1442, allocations: 49.64 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1443, allocations: 53.7 kB / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1443, allocations: 0 / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.1445, allocations: 105.5 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1445, allocations: 4 kB / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1445, allocations: 0 / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1445, allocations: 0 / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.1446, allocations: 23.95 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1446, allocations: 4 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.1447, allocations: 3.938 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.1447, allocations: 4 kB / 475 MB, free: 8.359 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.854e-05/0.1448, allocations: 130.9 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.1448, allocations: 15.81 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.1449, allocations: 17.34 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1449, allocations: 7.984 kB / 475.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1449, allocations: 0 / 475.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1449, allocations: 11.92 kB / 475.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.1454, allocations: 391.3 kB / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1454, allocations: 0 / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.1454, allocations: 8 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1454, allocations: 3.938 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1454, allocations: 11.98 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1454, allocations: 0 / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1454, allocations: 0 / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1457, allocations: 204.2 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.1457, allocations: 89.02 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.1458, allocations: 7.938 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.1458, allocations: 3.984 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1459, allocations: 4 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1459, allocations: 4 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.1461, allocations: 175.2 kB / 476.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1461, allocations: 4 kB / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1464, allocations: 20 kB / 476.1 MB, free: 7.168 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.001438/0.1478, allocations: 1.116 MB / 477.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.148, allocations: 55.92 kB / 477.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.148, allocations: 4 kB / 477.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.1481, allocations: 28.05 kB / 477.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1485, allocations: 35.91 kB / 477.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.1502, allocations: 1.709 MB / 479 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1505, allocations: 0.708 MB / 479.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.708e-05/0.1506, allocations: 17.17 kB / 479.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.1507, allocations: 39.42 kB / 479.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1507, allocations: 4 kB / 479.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.1703, allocations: 3.454 MB / 483.2 MB, free: 132 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.818, allocations: 11.98 kB / 483.3 MB, free: 120 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches