Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",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.001503/0.001503, allocations: 113.2 kB / 16.41 MB, free: 6.5 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.001684/0.001684, allocations: 185.5 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.572/1.572, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2424/0.2424, allocations: 43.53 MB / 314.1 MB, free: 472 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.002619/0.002619, allocations: 77.45 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1294, allocations: 57.8 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003366/0.1328, allocations: 1.697 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1345, allocations: 0.7962 MB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1346, allocations: 0 / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.1351, allocations: 107.7 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.1354, allocations: 83.66 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.1358, allocations: 103.6 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.136, allocations: 111.7 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1362, allocations: 20.22 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1363, allocations: 55.77 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1365, allocations: 59.81 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1365, allocations: 4 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1366, allocations: 47.97 kB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.1367, allocations: 35.86 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.625e-05/0.1368, allocations: 43.61 kB / 0.4906 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.1371, allocations: 131.4 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.1371, allocations: 0 / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1371, allocations: 8 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1371, allocations: 0 / 0.4907 GB, free: 8.922 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006651/0.1378, allocations: 442.5 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1378, allocations: 11.89 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.1379, allocations: 38.73 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/0.1379, allocations: 12.84 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.1383, allocations: 227.9 kB / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1383, allocations: 384 / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1384, allocations: 15.83 kB / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1385, allocations: 69.64 kB / 0.4915 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1386, allocations: 4 kB / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.1386, allocations: 0 / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1386, allocations: 3.984 kB / 0.4915 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.1387, allocations: 23.98 kB / 0.4915 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.1391, allocations: 304.8 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.1394, allocations: 70.62 kB / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.691e-05/0.1394, allocations: 28.84 kB / 0.4919 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1395, allocations: 0 / 0.4919 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1396, allocations: 75.36 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.1396, allocations: 0 / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000629/0.1403, allocations: 217.3 kB / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1403, allocations: 51.41 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1406, allocations: 246.5 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1406, allocations: 33.7 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.1407, allocations: 108.1 kB / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.1407, allocations: 31.75 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.1408, allocations: 25.8 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1409, allocations: 330.8 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.141, allocations: 27.98 kB / 0.493 GB, free: 6.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/0.1411, allocations: 41.7 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1412, allocations: 69.64 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1412, allocations: 0 / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002474/0.1415, allocations: 113.5 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1415, allocations: 11.98 kB / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1415, allocations: 4.031 kB / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1415, allocations: 0 / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1416, allocations: 16 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1417, allocations: 3.938 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.1417, allocations: 11.92 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.1417, allocations: 0 / 0.4932 GB, free: 6.051 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 (11): * Single equations (assignments): 11 * 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.0001908/0.1419, allocations: 141.7 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.142, allocations: 15.91 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.142, allocations: 21.41 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.142, allocations: 4 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.142, allocations: 0 / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1421, allocations: 7.922 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.1425, allocations: 415.3 kB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.1426, allocations: 8 kB / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.1426, allocations: 8 kB / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1426, allocations: 3.938 kB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.1426, allocations: 7.984 kB / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1427, allocations: 4.031 kB / 0.4938 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1427, allocations: 0 / 0.4938 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.143, allocations: 216.3 kB / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.1431, allocations: 89.02 kB / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.1431, allocations: 15.92 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.1432, allocations: 0 / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.1432, allocations: 8 kB / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.1432, allocations: 11.98 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1434, allocations: 184.2 kB / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1434, allocations: 0 / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1437, allocations: 23.94 kB / 0.4944 GB, free: 4.781 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 (9): * Single equations (assignments): 7 * 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.001567/0.1453, allocations: 1.124 MB / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.1455, allocations: 71.84 kB / 0.4955 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1455, allocations: 4.062 kB / 0.4955 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.1456, allocations: 31.98 kB / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.146, allocations: 32.12 kB / 0.4956 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.148, allocations: 1.826 MB / 0.4974 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1483, allocations: 0.7197 MB / 0.4981 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.868e-05/0.1484, allocations: 20.62 kB / 0.4981 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.1485, allocations: 43.42 kB / 0.4982 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1485, allocations: 0 / 0.4982 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.1722, allocations: 3.785 MB / 0.5018 GB, free: 12.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/7.893, allocations: 0 / 0.5018 GB, free: 12.99 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches