Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.001009/0.001009, allocations: 106.5 kB / 17.2 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.001149/0.001149, 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.568/1.568, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.2507/0.2507, allocations: 44.17 MB / 336.1 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.09 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1311, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.004646/0.1358, allocations: 1.765 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1375, allocations: 0.8615 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1377, allocations: 3.938 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.1381, allocations: 39.89 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.1384, allocations: 39.83 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.1389, allocations: 94.53 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.1392, allocations: 99.61 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1393, allocations: 16.23 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1395, allocations: 31.8 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1396, allocations: 35.83 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1396, allocations: 4 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1397, allocations: 36 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.568e-05/0.1398, allocations: 23.86 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.1399, allocations: 31.73 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1401, allocations: 107.9 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1401, allocations: 0 / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1401, allocations: 0 / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1402, allocations: 8 kB / 471.8 MB, free: 11.55 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.0007769/0.1409, allocations: 411.1 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.141, allocations: 8.031 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.1411, allocations: 34.75 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.1411, allocations: 16.75 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.1416, allocations: 208 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1416, allocations: 4.375 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1416, allocations: 3.938 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1418, allocations: 57.67 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1418, allocations: 0 / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1419, allocations: 0 / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1419, allocations: 4 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.319e-05/0.142, allocations: 19.98 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.1425, allocations: 284.9 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1427, allocations: 62.59 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.1428, allocations: 20.86 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1428, allocations: 3.938 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.143, allocations: 63.39 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1431, allocations: 0 / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006224/0.1437, allocations: 181.2 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1438, allocations: 59.41 kB / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1439, allocations: 190.1 kB / 473.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.144, allocations: 25.7 kB / 473.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.144, allocations: 112 kB / 473.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1441, allocations: 19.72 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1441, allocations: 21.7 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1443, allocations: 326.8 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.1444, allocations: 16 kB / 473.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.105e-05/0.1444, allocations: 41.64 kB / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1446, allocations: 61.7 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1446, allocations: 0 / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.1448, allocations: 97.44 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1448, allocations: 11.98 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1448, allocations: 0 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1448, allocations: 4.031 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.1449, allocations: 19.94 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.145, allocations: 0 / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.145, allocations: 7.938 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.145, allocations: 8.141 kB / 474.2 MB, free: 8.949 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.0001112/0.1451, allocations: 121.8 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.1452, allocations: 7.906 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.1452, allocations: 20.69 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1452, allocations: 4 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1453, allocations: 4 kB / 474.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1453, allocations: 3.938 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.1458, allocations: 391.3 kB / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1458, allocations: 0 / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.1458, allocations: 8 kB / 474.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1458, allocations: 3.938 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1458, allocations: 3.984 kB / 474.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1458, allocations: 4 kB / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1459, allocations: 4.031 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.1461, allocations: 212.1 kB / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.1462, allocations: 81.02 kB / 475 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.1462, allocations: 7.938 kB / 475 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1463, allocations: 4.359 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.1463, allocations: 8 kB / 475 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.1464, allocations: 12 kB / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.1466, allocations: 143.2 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1466, allocations: 0 / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1469, allocations: 28 kB / 475.2 MB, free: 7.789 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.001918/0.1488, allocations: 1.096 MB / 476.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.149, allocations: 55.92 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1491, allocations: 4.062 kB / 476.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.1491, allocations: 27.98 kB / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1495, allocations: 27.97 kB / 476.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.1522, allocations: 1.652 MB / 478.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.1526, allocations: 0.7004 MB / 478.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.703e-05/0.1527, allocations: 8.891 kB / 478.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.1528, allocations: 39.42 kB / 478.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1528, allocations: 0 / 478.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.1737, allocations: 3.143 MB / 482 MB, free: 1.184 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/0.174, allocations: 236 kB / 482.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.045, allocations: 0 / 482.2 MB, free: 0.9336 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches