Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.001159/0.001159, allocations: 108 kB / 16.41 MB, free: 6.484 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.001169/0.001169, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.406/1.406, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2041/0.2041, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 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.001459/0.001459, allocations: 63.91 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1326, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00339/0.136, allocations: 1.693 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1375, allocations: 0.8078 MB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1376, allocations: 0 / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.138, allocations: 47.75 kB / 0.49 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.1383, allocations: 55.77 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.1386, allocations: 99.69 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1388, allocations: 91.7 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.139, allocations: 24.19 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1391, allocations: 39.8 kB / 0.4903 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.654e-05/0.1392, allocations: 27.8 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1392, allocations: 4 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.1393, allocations: 43.97 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.1394, allocations: 35.84 kB / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.54e-05/0.1395, allocations: 43.67 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1398, allocations: 135.4 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1398, allocations: 0 / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1398, allocations: 0 / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1398, allocations: 0 / 0.4905 GB, free: 9.09 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.0007397/0.1406, allocations: 442.5 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.1406, allocations: 11.89 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.1407, allocations: 34.75 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.1407, allocations: 12.84 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.1411, allocations: 231.8 kB / 0.4912 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1411, allocations: 4.375 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1412, allocations: 7.938 kB / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1414, allocations: 53.67 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1414, allocations: 0 / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1414, allocations: 3.984 kB / 0.4913 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1414, allocations: 0 / 0.4913 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.945e-05/0.1415, allocations: 19.94 kB / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.142, allocations: 292.9 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1422, allocations: 62.67 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.1422, allocations: 20.8 kB / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.1423, allocations: 7.984 kB / 0.4917 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.1425, allocations: 71.31 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1425, allocations: 4 kB / 0.4918 GB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006217/0.1431, allocations: 177.3 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.1432, allocations: 51.41 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1435, allocations: 262.5 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1435, allocations: 33.7 kB / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.1436, allocations: 108.1 kB / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.1436, allocations: 27.78 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.1437, allocations: 21.72 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1439, allocations: 334.8 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-05/0.1439, allocations: 16 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.144, allocations: 38.02 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1441, allocations: 69.7 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1441, allocations: 0 / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000206/0.1444, allocations: 117.5 kB / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1444, allocations: 4 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1444, allocations: 3.984 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1444, allocations: 0 / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.1445, allocations: 20 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1445, allocations: 0 / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.1446, allocations: 7.938 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1446, allocations: 0 / 0.493 GB, free: 6.316 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.0001305/0.1447, allocations: 145.5 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.1448, allocations: 19.91 kB / 0.4931 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.1448, allocations: 17.41 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1448, allocations: 0 / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1449, allocations: 0 / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1449, allocations: 3.938 kB / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.1454, allocations: 403.3 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1454, allocations: 0 / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.1454, allocations: 11.94 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.1455, allocations: 7.922 kB / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1455, allocations: 8.031 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1455, allocations: 3.938 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1455, allocations: 0 / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1457, allocations: 204.3 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.1458, allocations: 93 kB / 0.4939 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1458, allocations: 3.938 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.1459, allocations: 11.98 kB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.146, allocations: 4 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.146, allocations: 7.938 kB / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1462, allocations: 200.5 kB / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1462, allocations: 0 / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1464, allocations: 19.94 kB / 0.4941 GB, free: 5.07 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.001522/0.148, allocations: 1.1 MB / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1482, allocations: 59.91 kB / 0.4952 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1482, allocations: 7.938 kB / 0.4952 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.1483, allocations: 31.92 kB / 0.4953 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1487, allocations: 35.36 kB / 0.4953 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1508, allocations: 1.815 MB / 0.4971 GB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1511, allocations: 0.7158 MB / 0.4978 GB, free: 1.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.669e-05/0.1512, allocations: 13.19 kB / 0.4978 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.1512, allocations: 39.42 kB / 0.4978 GB, free: 1.16 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1512, allocations: 0 / 0.4978 GB, free: 1.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.1721, allocations: 3.687 MB / 0.5014 GB, free: 13.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.286, allocations: 15.84 kB / 0.5014 GB, free: 13.43 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches