Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",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.0009846/0.0009846, allocations: 97.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001087, allocations: 183.2 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3757/0.3757, allocations: 43.58 MB / 315 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005152/0.0005154, allocations: 16 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002459/0.1353, allocations: 1.414 MB / 445 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1369, allocations: 0.7729 MB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.137, allocations: 4 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.1374, allocations: 35.89 kB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.1377, allocations: 51.83 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.138, allocations: 75.84 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1382, allocations: 95.69 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1384, allocations: 16.16 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1385, allocations: 35.78 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.1386, allocations: 27.86 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1386, allocations: 4 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1387, allocations: 43.98 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.1388, allocations: 23.91 kB / 446.1 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.1389, allocations: 65.36 kB / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.1391, allocations: 111.9 kB / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1391, allocations: 0 / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1391, allocations: 0 / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1391, allocations: 0 / 446.3 MB, free: 9.781 MB / 382.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.0005606/0.1397, allocations: 399 kB / 446.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1398, allocations: 8.031 kB / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.1398, allocations: 42.75 kB / 446.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.1399, allocations: 8.844 kB / 446.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.1401, allocations: 208.7 kB / 447 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1402, allocations: 384 / 447 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1402, allocations: 11.94 kB / 447 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1404, allocations: 53.61 kB / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1404, allocations: 4 kB / 447 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1404, allocations: 3.938 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1404, allocations: 0 / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.309e-05/0.1405, allocations: 23.98 kB / 447.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.1409, allocations: 288.9 kB / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1411, allocations: 58.62 kB / 447.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.1412, allocations: 20.84 kB / 447.4 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1412, allocations: 8 kB / 447.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.1414, allocations: 63.39 kB / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1414, allocations: 0 / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005809/0.142, allocations: 173.1 kB / 447.7 MB, free: 8.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.1421, allocations: 55.41 kB / 447.7 MB, free: 8.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1423, allocations: 199.3 kB / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1423, allocations: 25.7 kB / 447.9 MB, free: 7.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.1424, allocations: 108.1 kB / 448 MB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1424, allocations: 19.66 kB / 448.1 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.1425, allocations: 21.7 kB / 448.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1426, allocations: 322.8 kB / 448.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.884e-05/0.1426, allocations: 20 kB / 448.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.1427, allocations: 37.64 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1428, allocations: 65.69 kB / 448.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1429, allocations: 7.938 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001863/0.143, allocations: 97.44 kB / 448.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1431, allocations: 4 kB / 448.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1431, allocations: 4 kB / 448.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1431, allocations: 3.984 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.1432, allocations: 12 kB / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1432, allocations: 0 / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.451e-05/0.1433, allocations: 12.31 kB / 448.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.1433, allocations: 8.031 kB / 448.7 MB, free: 7.188 MB / 382.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.0001012/0.1434, allocations: 125.8 kB / 448.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.1434, allocations: 11.91 kB / 448.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.1435, allocations: 21.39 kB / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1435, allocations: 0 / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1435, allocations: 4 kB / 448.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.1435, allocations: 3.938 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.144, allocations: 403.4 kB / 449.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.144, allocations: 192 / 449.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.144, allocations: 8 kB / 449.2 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.144, allocations: 15.86 kB / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1441, allocations: 0 / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1441, allocations: 0 / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1441, allocations: 0 / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1443, allocations: 204.3 kB / 449.4 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.1444, allocations: 88.92 kB / 449.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1444, allocations: 11.92 kB / 449.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.1445, allocations: 7.984 kB / 449.6 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.1445, allocations: 4 kB / 449.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1445, allocations: 7.984 kB / 449.6 MB, free: 6.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1447, allocations: 156.9 kB / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1447, allocations: 0 / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1449, allocations: 28 kB / 449.7 MB, free: 6.004 MB / 382.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.001463/0.1464, allocations: 1.097 MB / 450.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1466, allocations: 55.97 kB / 450.9 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1466, allocations: 0 / 450.9 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.193e-05/0.1467, allocations: 31.92 kB / 450.9 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.147, allocations: 23.98 kB / 451 MB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1488, allocations: 1.697 MB / 452.6 MB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.149, allocations: 0.7121 MB / 453.4 MB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.832e-05/0.1491, allocations: 16.86 kB / 453.4 MB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.1492, allocations: 35.42 kB / 453.4 MB, free: 2.223 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1492, allocations: 0 / 453.4 MB, free: 2.223 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2136/0.3628, allocations: 2.971 MB / 456.4 MB, free: 45.67 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.363, allocations: 233.1 kB / 456.6 MB, free: 45.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.203, allocations: 2.969 kB / 456.6 MB, free: 45.42 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches