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.001551/0.001551, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.00182/0.00182, allocations: 194 kB / 18.12 MB, free: 5.383 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.504/1.504, allocations: 222.9 MB / 241.8 MB, free: 13.67 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.2451/0.2451, allocations: 44.19 MB / 336.1 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 76.47 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1298, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.005007/0.1349, allocations: 1.961 MB / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.1368, allocations: 0.9043 MB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.137, allocations: 4 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.1375, allocations: 39.78 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.1378, allocations: 43.83 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.1384, allocations: 115.7 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.1387, allocations: 127.6 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1389, allocations: 33.48 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.139, allocations: 55.66 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1391, allocations: 43.72 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.1391, allocations: 4 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.1393, allocations: 43.97 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.1394, allocations: 19.92 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.579e-05/0.1395, allocations: 47.67 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.1398, allocations: 143.8 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1398, allocations: 0 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1398, allocations: 3.938 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1398, allocations: 4 kB / 472.2 MB, free: 11.11 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.0007528/0.1406, allocations: 476.6 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1406, allocations: 8.031 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.1407, allocations: 38.75 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.1408, allocations: 16.75 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.141, allocations: 223.9 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1411, allocations: 4.375 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.1411, allocations: 11.94 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.1413, allocations: 110.9 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1414, allocations: 0 / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1414, allocations: 0 / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.1414, allocations: 4 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1416, allocations: 51.91 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.1422, allocations: 0.5126 MB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.1425, allocations: 90.67 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.1426, allocations: 40.81 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.1426, allocations: 4 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.1429, allocations: 87.31 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1429, allocations: 0 / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004162/0.1433, allocations: 153.5 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1434, allocations: 59.34 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1436, allocations: 187.5 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1436, allocations: 25.7 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.1437, allocations: 116 kB / 474.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1437, allocations: 27.61 kB / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.1438, allocations: 25.72 kB / 474.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1439, allocations: 330.8 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.144, allocations: 31.98 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1441, allocations: 60.27 kB / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.1443, allocations: 100.2 kB / 475 MB, free: 8.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1443, allocations: 4 kB / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000266/0.1446, allocations: 133.3 kB / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1446, allocations: 4 kB / 475.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1446, allocations: 0 / 475.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.1447, allocations: 7.938 kB / 475.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1448, allocations: 24.11 kB / 475.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1448, allocations: 4 kB / 475.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.1449, allocations: 15.92 kB / 475.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1449, allocations: 11.92 kB / 475.2 MB, free: 7.871 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.000107/0.145, allocations: 121.8 kB / 475.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.145, allocations: 15.81 kB / 475.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.1451, allocations: 17.39 kB / 475.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1451, allocations: 3.938 kB / 475.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1451, allocations: 8 kB / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1451, allocations: 0 / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.1453, allocations: 209.8 kB / 475.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1453, allocations: 0 / 475.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.602e-05/0.1454, allocations: 15.92 kB / 475.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1454, allocations: 0 / 475.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1454, allocations: 8 kB / 475.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1454, allocations: 3.938 kB / 475.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1454, allocations: 3.938 kB / 475.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.1458, allocations: 180.8 kB / 475.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.1459, allocations: 96.88 kB / 475.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1459, allocations: 0 / 475.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.146, allocations: 7.938 kB / 475.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.146, allocations: 15.92 kB / 475.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1461, allocations: 4 kB / 475.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1462, allocations: 137.2 kB / 476 MB, free: 6.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1462, allocations: 4.062 kB / 476 MB, free: 6.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1464, allocations: 24 kB / 476 MB, free: 6.918 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.001495/0.1479, allocations: 1.017 MB / 477 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.1482, allocations: 83.84 kB / 477.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1482, allocations: 0 / 477.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/0.1483, allocations: 35.97 kB / 477.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1486, allocations: 39.91 kB / 477.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1505, allocations: 1.763 MB / 479 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1508, allocations: 0.72 MB / 479.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.81e-05/0.1508, allocations: 21.41 kB / 479.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.1509, allocations: 39.42 kB / 479.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1509, allocations: 0 / 479.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05031/0.2012, allocations: 3.482 MB / 483.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.2014, allocations: 236.9 kB / 483.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.118, allocations: 4 kB / 483.5 MB, free: 15.57 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