Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.001385/0.001385, allocations: 104 kB / 16.4 MB, free: 6.496 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.001492/0.001492, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.44/1.44, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2262/0.2262, allocations: 43.52 MB / 314.1 MB, free: 464 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.001555/0.001555, allocations: 72.17 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1293, allocations: 57.78 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003565/0.1329, allocations: 1.856 MB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1349, allocations: 0.8974 MB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.1351, allocations: 4 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.1357, allocations: 215.4 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.1363, allocations: 171.4 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.1368, allocations: 147.7 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.1373, allocations: 227.3 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.1375, allocations: 25.53 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.1378, allocations: 115.6 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.138, allocations: 143.5 kB / 0.4912 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.1381, allocations: 8 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1383, allocations: 47.92 kB / 0.4912 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.826e-05/0.1384, allocations: 59.83 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1385, allocations: 79.34 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.1389, allocations: 219.2 kB / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1389, allocations: 0 / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1389, allocations: 0 / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1389, allocations: 0 / 0.4916 GB, free: 8.023 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008447/0.1398, allocations: 0.5364 MB / 0.4921 GB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1398, allocations: 11.89 kB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.1399, allocations: 38.75 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/0.1399, allocations: 32.56 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.1404, allocations: 284 kB / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1404, allocations: 384 / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1405, allocations: 7.938 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.1407, allocations: 95.36 kB / 0.4925 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1407, allocations: 3.984 kB / 0.4925 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1408, allocations: 7.984 kB / 0.4925 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1408, allocations: 8 kB / 0.4925 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1409, allocations: 39.91 kB / 0.4926 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006144/0.1415, allocations: 437 kB / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.1418, allocations: 117.3 kB / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1419, allocations: 45.7 kB / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.142, allocations: 3.984 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.1423, allocations: 124.9 kB / 0.4933 GB, free: 6.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.754e-06/0.1423, allocations: 4 kB / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001046/0.1433, allocations: 356 kB / 0.4936 GB, free: 5.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.1434, allocations: 92.92 kB / 0.4937 GB, free: 5.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004972/0.1439, allocations: 432.4 kB / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.144, allocations: 33.7 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1441, allocations: 152.4 kB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.1442, allocations: 51.34 kB / 0.4944 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.1443, allocations: 33.72 kB / 0.4944 GB, free: 4.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.1445, allocations: 342.8 kB / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1446, allocations: 39.98 kB / 0.4947 GB, free: 4.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1448, allocations: 67.41 kB / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.145, allocations: 119.4 kB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.145, allocations: 0 / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003243/0.1453, allocations: 177.3 kB / 0.4951 GB, free: 4.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1454, allocations: 8 kB / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1454, allocations: 320 / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1454, allocations: 0 / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.1456, allocations: 47.91 kB / 0.4951 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1456, allocations: 0 / 0.4951 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/0.1457, allocations: 11.91 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1457, allocations: 11.98 kB / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001571/0.1459, allocations: 165.7 kB / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.1459, allocations: 27.72 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.146, allocations: 34.62 kB / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.146, allocations: 7.938 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.146, allocations: 4 kB / 0.4954 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.146, allocations: 3.984 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007434/0.1468, allocations: 0.6202 MB / 0.496 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1468, allocations: 4 kB / 0.496 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.1469, allocations: 20.73 kB / 0.496 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.1469, allocations: 4 kB / 0.496 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1469, allocations: 4.062 kB / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1469, allocations: 4 kB / 0.496 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1469, allocations: 0 / 0.496 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.1473, allocations: 367.9 kB / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.1474, allocations: 104.8 kB / 0.4965 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.1475, allocations: 12 kB / 0.4965 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1476, allocations: 4 kB / 0.4965 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.1476, allocations: 15.98 kB / 0.4965 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1477, allocations: 7.984 kB / 0.4965 GB, free: 2.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.148, allocations: 319 kB / 0.4968 GB, free: 2.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.148, allocations: 0 / 0.4968 GB, free: 2.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.1484, allocations: 43.98 kB / 0.4969 GB, free: 2.156 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001703/0.1501, allocations: 1.267 MB / 0.4981 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.1504, allocations: 115.8 kB / 0.4982 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1504, allocations: 0 / 0.4982 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.1505, allocations: 59.91 kB / 0.4983 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.1511, allocations: 57.92 kB / 0.4983 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.1543, allocations: 2.633 MB / 0.5009 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.1548, allocations: 0.771 MB / 0.5017 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.1549, allocations: 25.94 kB / 0.5017 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.155, allocations: 79.41 kB / 0.5018 GB, free: 13.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.155, allocations: 0 / 0.5018 GB, free: 13.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.1821, allocations: 5.825 MB / 0.5075 GB, free: 7.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.782, allocations: 4 kB / 0.5075 GB, free: 7.156 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches