Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.005623/0.005623, allocations: 104.2 kB / 15.87 MB, free: 6.25 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.001116/0.001116, allocations: 194 kB / 16.79 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 222.6 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3576/0.3576, allocations: 43.49 MB / 313.5 MB, free: 8.285 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 71.91 kB / 382.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1312, allocations: 57.78 MB / 439.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003232/0.1345, allocations: 1.764 MB / 441.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1358, allocations: 0.7807 MB / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.1359, allocations: 0 / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.1362, allocations: 35.89 kB / 442.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.1364, allocations: 47.77 kB / 442.5 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.1366, allocations: 83.84 kB / 442.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.1368, allocations: 95.69 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1369, allocations: 12.2 kB / 442.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.024e-05/0.137, allocations: 39.73 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/0.1371, allocations: 31.84 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1371, allocations: 0 / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.41e-05/0.1372, allocations: 39.98 kB / 442.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.1373, allocations: 19.92 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.1373, allocations: 39.73 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1375, allocations: 115.8 kB / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1376, allocations: 0 / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1376, allocations: 0 / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1376, allocations: 0 / 443 MB, free: 11.36 MB / 382.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.0005333/0.1381, allocations: 411 kB / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1382, allocations: 12.03 kB / 443.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.1382, allocations: 30.75 kB / 443.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1382, allocations: 8.844 kB / 443.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1385, allocations: 216 kB / 443.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1385, allocations: 4.375 kB / 443.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1385, allocations: 7.938 kB / 443.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1387, allocations: 57.61 kB / 443.7 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1387, allocations: 3.938 kB / 443.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1387, allocations: 0 / 443.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1387, allocations: 0 / 443.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.582e-05/0.1388, allocations: 23.97 kB / 443.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.1391, allocations: 288.8 kB / 444.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1393, allocations: 62.61 kB / 444.1 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.1394, allocations: 16.86 kB / 444.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1394, allocations: 4 kB / 444.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.1396, allocations: 67.39 kB / 444.2 MB, free: 10 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1396, allocations: 0 / 444.2 MB, free: 10 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005353/0.1401, allocations: 169.2 kB / 444.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.1402, allocations: 51.41 kB / 444.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1404, allocations: 194.1 kB / 444.6 MB, free: 9.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1404, allocations: 25.7 kB / 444.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.1405, allocations: 104.1 kB / 444.7 MB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.1405, allocations: 19.7 kB / 444.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.1405, allocations: 33.7 kB / 444.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1407, allocations: 322.8 kB / 445.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.1407, allocations: 20 kB / 445.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.1408, allocations: 41.58 kB / 445.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1409, allocations: 54.08 kB / 445.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1409, allocations: 0 / 445.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.1411, allocations: 105.5 kB / 445.3 MB, free: 8.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1411, allocations: 7.984 kB / 445.3 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1411, allocations: 4 kB / 445.3 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1412, allocations: 4 kB / 445.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.1412, allocations: 12 kB / 445.3 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1413, allocations: 4.141 kB / 445.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.1413, allocations: 7.938 kB / 445.4 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1413, allocations: 3.984 kB / 445.4 MB, free: 8.77 MB / 382.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.619e-05/0.1414, allocations: 133.8 kB / 445.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.1415, allocations: 11.81 kB / 445.5 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.1415, allocations: 16.7 kB / 445.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1415, allocations: 0 / 445.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.1415, allocations: 4 kB / 445.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1415, allocations: 3.938 kB / 445.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.1419, allocations: 391.3 kB / 445.9 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.142, allocations: 32 / 445.9 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.142, allocations: 12 kB / 445.9 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.142, allocations: 3.938 kB / 445.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.142, allocations: 7.984 kB / 445.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.142, allocations: 0 / 445.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.142, allocations: 0 / 445.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1422, allocations: 204.2 kB / 446.1 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1423, allocations: 89.02 kB / 446.2 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1423, allocations: 3.938 kB / 446.2 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1424, allocations: 11.98 kB / 446.2 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1424, allocations: 4 kB / 446.2 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1425, allocations: 4 kB / 446.2 MB, free: 7.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1426, allocations: 144 kB / 446.4 MB, free: 7.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1426, allocations: 0 / 446.4 MB, free: 7.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1428, allocations: 27.91 kB / 446.4 MB, free: 7.617 MB / 382.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.00147/0.1443, allocations: 1.113 MB / 447.5 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1445, allocations: 51.98 kB / 447.6 MB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1445, allocations: 0 / 447.6 MB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.1446, allocations: 31.92 kB / 447.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.1449, allocations: 24.28 kB / 447.6 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1465, allocations: 1.656 MB / 449.3 MB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1468, allocations: 0.7121 MB / 450 MB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.177e-05/0.1468, allocations: 16.88 kB / 450 MB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.1469, allocations: 31.42 kB / 450 MB, free: 3.879 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1469, allocations: 0 / 450 MB, free: 3.879 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.16, allocations: 3.114 MB / 453.2 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.1602, allocations: 234.5 kB / 453.4 MB, free: 496 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.836, allocations: 4 kB / 453.4 MB, free: 492 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches