Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.001043/0.001043, allocations: 109.4 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.001093/0.001093, 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.507/1.507, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2568/0.2568, allocations: 44.16 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 65.09 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1343, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003437/0.1378, allocations: 1.756 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1393, allocations: 0.8575 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.1393, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.1396, allocations: 47.83 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.1398, allocations: 47.83 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1401, allocations: 87.83 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1402, allocations: 99.67 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.1403, allocations: 4.234 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.1404, allocations: 43.73 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.1405, allocations: 31.84 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1405, allocations: 0 / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.328e-05/0.1406, allocations: 43.98 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.1407, allocations: 19.92 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.1407, allocations: 39.72 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1409, allocations: 107.9 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1409, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.1409, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1409, allocations: 0 / 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.0004594/0.1414, allocations: 434.8 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1414, allocations: 12.03 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.1415, allocations: 30.75 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.1415, allocations: 8.844 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1417, allocations: 208.8 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.1417, allocations: 384 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1417, allocations: 7.938 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1419, allocations: 53.67 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1419, allocations: 3.938 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1419, allocations: 4 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1419, allocations: 4 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.243e-05/0.142, allocations: 19.97 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.1423, allocations: 288.8 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1425, allocations: 62.61 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.1425, allocations: 24.86 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1426, allocations: 7.922 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.1427, allocations: 63.39 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1427, allocations: 0 / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004896/0.1432, allocations: 185.1 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1433, allocations: 55.39 kB / 473.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1435, allocations: 203.3 kB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1435, allocations: 29.7 kB / 473.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.1436, allocations: 100.1 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.1436, allocations: 23.7 kB / 473.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.1436, allocations: 17.72 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1438, allocations: 326.8 kB / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.1438, allocations: 23.92 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.1439, allocations: 45.64 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.144, allocations: 57.7 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.144, allocations: 0 / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.1442, allocations: 101.4 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1442, allocations: 8 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1442, allocations: 0 / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.1443, allocations: 0 / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.1443, allocations: 24.02 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.1444, allocations: 4 kB / 474.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.1444, allocations: 3.938 kB / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1444, allocations: 4 kB / 474.2 MB, free: 8.898 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 9.687e-05/0.1445, allocations: 129.8 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.1446, allocations: 15.84 kB / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.1446, allocations: 17.39 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1446, allocations: 0 / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.1446, allocations: 4 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1446, allocations: 7.938 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.145, allocations: 387.3 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1451, allocations: 4 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.1451, allocations: 8 kB / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1451, allocations: 3.938 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1451, allocations: 4.359 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1451, allocations: 0 / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1451, allocations: 8 kB / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1454, allocations: 204.4 kB / 475 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.1454, allocations: 81.02 kB / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.1455, allocations: 11.88 kB / 475.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.1455, allocations: 3.938 kB / 475.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1456, allocations: 11.98 kB / 475.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1456, allocations: 4 kB / 475.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1457, allocations: 156.9 kB / 475.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1457, allocations: 0 / 475.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.146, allocations: 19.98 kB / 475.3 MB, free: 7.734 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.001478/0.1475, allocations: 1.098 MB / 476.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.1477, allocations: 63.89 kB / 476.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1477, allocations: 0 / 476.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.343e-05/0.1478, allocations: 28.06 kB / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1481, allocations: 35.62 kB / 476.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1499, allocations: 1.676 MB / 478.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1502, allocations: 0.7043 MB / 478.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.1503, allocations: 21.16 kB / 478.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.1503, allocations: 35.42 kB / 478.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1504, allocations: 4 kB / 478.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.1634, allocations: 3.173 MB / 482.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.1637, allocations: 238.9 kB / 482.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/1.969, allocations: 3.625 kB / 482.3 MB, free: 0.7891 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches