Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.001109/0.001109, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001027/0.001027, allocations: 194 kB / 18.12 MB, free: 5.363 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.486/1.486, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.2406/0.2406, allocations: 44.17 MB / 336.1 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 68.34 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.135, allocations: 60.83 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003575/0.1386, allocations: 1.787 MB / 470.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1401, allocations: 0.8498 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1403, allocations: 3.938 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.1406, allocations: 99.67 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1409, allocations: 71.8 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1412, allocations: 91.83 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1413, allocations: 111.7 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.1414, allocations: 8 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.36e-05/0.1415, allocations: 59.75 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1417, allocations: 59.75 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1417, allocations: 4 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1418, allocations: 51.98 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.1419, allocations: 23.92 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.1419, allocations: 43.66 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1421, allocations: 135.8 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1421, allocations: 0 / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1422, allocations: 0 / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1422, allocations: 0 / 472 MB, free: 11.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005594/0.1427, allocations: 429.3 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1428, allocations: 8.031 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.1428, allocations: 42.75 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.1429, allocations: 16.75 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.1431, allocations: 224.5 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1431, allocations: 4.375 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1432, allocations: 11.83 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1433, allocations: 61.66 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1433, allocations: 0 / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1434, allocations: 0 / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1434, allocations: 4 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.1435, allocations: 23.98 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.1438, allocations: 304.8 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.1441, allocations: 58.55 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.1442, allocations: 24.97 kB / 473.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1442, allocations: 0 / 473.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.1444, allocations: 75.45 kB / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1444, allocations: 0 / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007254/0.1451, allocations: 233 kB / 473.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.1452, allocations: 67.27 kB / 473.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1454, allocations: 226.5 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1454, allocations: 29.7 kB / 473.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.154e-05/0.1455, allocations: 108.1 kB / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.1455, allocations: 35.55 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.1456, allocations: 29.7 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1457, allocations: 326.8 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.1457, allocations: 31.92 kB / 474.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-05/0.1458, allocations: 49.7 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.146, allocations: 81.64 kB / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.146, allocations: 0 / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002044/0.1462, allocations: 129.4 kB / 474.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1462, allocations: 10.33 kB / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1462, allocations: 0 / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1462, allocations: 0 / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.1463, allocations: 27.88 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1463, allocations: 0 / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.1464, allocations: 7.984 kB / 474.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1464, allocations: 0 / 474.6 MB, free: 8.465 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 (13): * Single equations (assignments): 13 * 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.0001008/0.1465, allocations: 137.9 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.1465, allocations: 11.81 kB / 474.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.1466, allocations: 21.41 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1466, allocations: 3.938 kB / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1466, allocations: 4 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1466, allocations: 0 / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.1471, allocations: 456 kB / 475.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1471, allocations: 0 / 475.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.1472, allocations: 23.92 kB / 475.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1472, allocations: 4 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1472, allocations: 0 / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1472, allocations: 0 / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1472, allocations: 4 kB / 475.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1474, allocations: 233 kB / 475.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.1475, allocations: 92.91 kB / 475.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1475, allocations: 8 kB / 475.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.1476, allocations: 3.938 kB / 475.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1476, allocations: 7.984 kB / 475.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1477, allocations: 8 kB / 475.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1478, allocations: 176.3 kB / 475.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1478, allocations: 0 / 475.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1481, allocations: 24 kB / 475.8 MB, free: 7.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001471/0.1495, allocations: 1.194 MB / 477 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.1497, allocations: 79.91 kB / 477.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1498, allocations: 0 / 477.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.1498, allocations: 39.92 kB / 477.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1502, allocations: 23.98 kB / 477.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.1519, allocations: 1.833 MB / 479 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1522, allocations: 0.7158 MB / 479.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.8e-05/0.1523, allocations: 16.62 kB / 479.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.1523, allocations: 43.42 kB / 479.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1523, allocations: 4 kB / 479.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.17, allocations: 3.594 MB / 483.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/0.1703, allocations: 249.1 kB / 483.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.077, allocations: 3.938 kB / 483.6 MB, free: 15.51 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches