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.0007103/0.0007104, allocations: 93 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.0007687/0.0007689, allocations: 169.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.386/1.386, allocations: 223.3 MB / 242.3 MB, free: 14.5 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.2075/0.2075, allocations: 44.25 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002937, allocations: 8.281 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002264/0.1306, allocations: 1.413 MB / 473.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.132, allocations: 0.8421 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.132, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1323, allocations: 55.86 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1325, allocations: 43.83 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1328, allocations: 95.77 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.133, allocations: 87.7 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1331, allocations: 20.2 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.1332, allocations: 39.8 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.12e-05/0.1333, allocations: 31.8 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1333, allocations: 0 / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-05/0.1334, allocations: 43.97 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.1334, allocations: 15.92 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.1335, allocations: 65.44 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1337, allocations: 115.8 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1337, allocations: 0 / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1337, allocations: 4 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1337, allocations: 0 / 475.2 MB, free: 10.34 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.0005099/0.1343, allocations: 403.1 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1343, allocations: 19.89 kB / 475.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.1344, allocations: 42.75 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.1344, allocations: 12.75 kB / 475.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1346, allocations: 216.5 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1347, allocations: 4.375 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1347, allocations: 7.938 kB / 475.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1349, allocations: 57.67 kB / 476 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1349, allocations: 0 / 476 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1349, allocations: 0 / 476 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1349, allocations: 4 kB / 476 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.411e-05/0.135, allocations: 19.92 kB / 476 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.1354, allocations: 288.8 kB / 476.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1355, allocations: 66.67 kB / 476.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.1356, allocations: 20.84 kB / 476.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1356, allocations: 3.984 kB / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.1358, allocations: 75.23 kB / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1359, allocations: 0 / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005493/0.1364, allocations: 173.2 kB / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1365, allocations: 63.39 kB / 476.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.1367, allocations: 222.6 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1367, allocations: 25.7 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.1368, allocations: 108.1 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.1369, allocations: 27.64 kB / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.1369, allocations: 13.72 kB / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.137, allocations: 322.8 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.1371, allocations: 27.98 kB / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.077e-05/0.1372, allocations: 33.7 kB / 477.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.1373, allocations: 61.66 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1373, allocations: 3.984 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.1375, allocations: 97.48 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1375, allocations: 8 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1375, allocations: 4.031 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1375, allocations: 0 / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.1376, allocations: 19.92 kB / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1377, allocations: 4 kB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.1377, allocations: 3.938 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1377, allocations: 8.188 kB / 477.6 MB, free: 7.672 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.0001155/0.1378, allocations: 129.8 kB / 477.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.1379, allocations: 19.75 kB / 477.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.1379, allocations: 21.39 kB / 477.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1379, allocations: 4.375 kB / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.138, allocations: 0 / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.138, allocations: 7.938 kB / 477.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.1384, allocations: 395.5 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1384, allocations: 0 / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.1384, allocations: 15.92 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1385, allocations: 3.938 kB / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1385, allocations: 4 kB / 478.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1385, allocations: 4.031 kB / 478.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1385, allocations: 0 / 478.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1387, allocations: 204.2 kB / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.1388, allocations: 89 kB / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.1388, allocations: 11.94 kB / 478.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.1389, allocations: 0 / 478.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.1389, allocations: 11.98 kB / 478.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.139, allocations: 4 kB / 478.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1391, allocations: 172.3 kB / 478.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1391, allocations: 0 / 478.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1394, allocations: 27.98 kB / 478.7 MB, free: 6.465 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.001841/0.1412, allocations: 1.091 MB / 479.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1414, allocations: 63.91 kB / 479.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1414, allocations: 4.062 kB / 479.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.1415, allocations: 35.86 kB / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.1419, allocations: 23.97 kB / 480 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.144, allocations: 1.742 MB / 481.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1443, allocations: 0.7082 MB / 482.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.414e-05/0.1444, allocations: 20.86 kB / 482.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.1445, allocations: 39.42 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1445, allocations: 0 / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.1587, allocations: 3.097 MB / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.1589, allocations: 233.3 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.883, allocations: 4 kB / 485.8 MB, free: 15.56 MB / 366.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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches