Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.00123/0.00123, allocations: 113 kB / 17.33 MB, free: 6.016 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.001456/0.001456, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.468/1.468, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2453/0.2453, allocations: 44.18 MB / 336.3 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 62.41 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1325, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004673/0.1372, allocations: 1.973 MB / 470.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1391, allocations: 0.9003 MB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.1394, allocations: 8 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.1398, allocations: 39.77 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.1402, allocations: 47.83 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.1408, allocations: 107.8 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.1411, allocations: 135.6 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1412, allocations: 29.48 kB / 472.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.1414, allocations: 59.72 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1415, allocations: 51.64 kB / 472.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.1416, allocations: 8 kB / 472.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1417, allocations: 43.98 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.544e-05/0.1418, allocations: 23.92 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.1419, allocations: 55.66 kB / 472.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.1422, allocations: 147.8 kB / 472.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1422, allocations: 0 / 472.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1422, allocations: 7.938 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1422, allocations: 0 / 472.5 MB, free: 10.98 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006987/0.1429, allocations: 468.6 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.143, allocations: 8.031 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.1431, allocations: 42.73 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.1431, allocations: 16.75 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.1434, allocations: 228.4 kB / 473.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1434, allocations: 8.375 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.1434, allocations: 11.94 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.1437, allocations: 112.1 kB / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1437, allocations: 0 / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1437, allocations: 4 kB / 473.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1437, allocations: 0 / 473.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1439, allocations: 51.91 kB / 473.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.1445, allocations: 0.5047 MB / 473.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.1449, allocations: 94.66 kB / 474 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.145, allocations: 32.84 kB / 474 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.145, allocations: 4 kB / 474 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.1453, allocations: 83.31 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.615e-06/0.1453, allocations: 0 / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004139/0.1457, allocations: 153.3 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1458, allocations: 55.41 kB / 474.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.146, allocations: 187.5 kB / 474.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.146, allocations: 25.7 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.1461, allocations: 116 kB / 474.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1461, allocations: 31.59 kB / 474.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.1462, allocations: 25.84 kB / 474.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1463, allocations: 330.8 kB / 475 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.1464, allocations: 35.97 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1465, allocations: 62.91 kB / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.1467, allocations: 108.5 kB / 475.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1467, allocations: 3.938 kB / 475.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002727/0.147, allocations: 133.3 kB / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.147, allocations: 4 kB / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.147, allocations: 0 / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.147, allocations: 12.06 kB / 475.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1471, allocations: 23.98 kB / 475.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1471, allocations: 0 / 475.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.1472, allocations: 11.94 kB / 475.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1473, allocations: 4 kB / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001093/0.1474, allocations: 133.8 kB / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1474, allocations: 11.81 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.1474, allocations: 13.41 kB / 475.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.1475, allocations: 11.94 kB / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1475, allocations: 3.984 kB / 475.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1475, allocations: 0 / 475.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.1477, allocations: 205.6 kB / 475.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1477, allocations: 0 / 475.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.1478, allocations: 8 kB / 475.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1478, allocations: 0 / 475.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1478, allocations: 7.938 kB / 475.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.1478, allocations: 7.922 kB / 475.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1478, allocations: 0 / 475.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.1482, allocations: 184.8 kB / 476 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.1483, allocations: 96.83 kB / 476.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.1483, allocations: 0 / 476.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.1484, allocations: 11.92 kB / 476.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.1484, allocations: 12.17 kB / 476.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1484, allocations: 4 kB / 476.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1486, allocations: 145.2 kB / 476.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1486, allocations: 4 kB / 476.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1488, allocations: 20 kB / 476.3 MB, free: 6.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001508/0.1503, allocations: 1.021 MB / 477.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.1506, allocations: 83.83 kB / 477.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1506, allocations: 0 / 477.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.805e-05/0.1507, allocations: 35.98 kB / 477.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.151, allocations: 37.59 kB / 477.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.1529, allocations: 1.768 MB / 479.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1532, allocations: 0.7162 MB / 479.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.267e-05/0.1533, allocations: 21.42 kB / 479.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.199e-05/0.1534, allocations: 39.42 kB / 480 MB, free: 3.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1534, allocations: 0 / 480 MB, free: 3.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.1686, allocations: 3.58 MB / 483.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.1688, allocations: 238.3 kB / 483.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.043, allocations: 3.938 kB / 483.8 MB, free: 15.35 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches