Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.001148/0.001148, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001346/0.001347, allocations: 191.6 kB / 17.19 MB, free: 5.602 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.386/1.386, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2309/0.2309, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001469/0.001469, allocations: 69.48 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1237, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002884/0.1266, allocations: 1.689 MB / 442.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1279, allocations: 0.8039 MB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.128, allocations: 4 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1283, allocations: 43.77 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.1285, allocations: 47.77 kB / 443.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1288, allocations: 91.69 kB / 443.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.1289, allocations: 87.77 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.129, allocations: 20.11 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.1291, allocations: 43.78 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.1292, allocations: 31.84 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1292, allocations: 4 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.791e-05/0.1293, allocations: 39.98 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.1294, allocations: 15.92 kB / 443.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.1295, allocations: 35.73 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1297, allocations: 111.7 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1297, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1297, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1297, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.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.000605/0.1303, allocations: 422.9 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1303, allocations: 11.89 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.1304, allocations: 30.75 kB / 444.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1304, allocations: 12.84 kB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1307, allocations: 205 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1307, allocations: 384 / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1307, allocations: 7.938 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1309, allocations: 53.67 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1309, allocations: 0 / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1309, allocations: 7.938 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1309, allocations: 4 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.89e-05/0.131, allocations: 19.98 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.1313, allocations: 288.8 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1315, allocations: 54.67 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.1315, allocations: 28.73 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1315, allocations: 7.938 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.1317, allocations: 67.39 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.1318, allocations: 0 / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005118/0.1323, allocations: 177.1 kB / 445.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.1323, allocations: 55.41 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1325, allocations: 198 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1325, allocations: 25.7 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.1325, allocations: 100.1 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1325, allocations: 19.72 kB / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.1326, allocations: 25.7 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.1326, allocations: 326.8 kB / 445.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.935e-05/0.1327, allocations: 16 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.1328, allocations: 33.7 kB / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.495e-05/0.1329, allocations: 73.62 kB / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1329, allocations: 0 / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000148/0.133, allocations: 97.52 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.133, allocations: 4 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1331, allocations: 3.984 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1331, allocations: 4 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.243e-05/0.1332, allocations: 16 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1332, allocations: 4.031 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.1332, allocations: 7.938 kB / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1332, allocations: 4 kB / 446.1 MB, free: 1.094 MB / 318.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 8.612e-05/0.1333, allocations: 133.7 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.1334, allocations: 11.81 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.1334, allocations: 16.7 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1334, allocations: 7.938 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1334, allocations: 0 / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1334, allocations: 3.938 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.1338, allocations: 383.4 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1338, allocations: 7.938 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.1338, allocations: 8 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1338, allocations: 7.938 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.1338, allocations: 3.984 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1338, allocations: 0 / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1339, allocations: 7.938 kB / 446.6 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.134, allocations: 200.5 kB / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.1341, allocations: 84.92 kB / 446.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1341, allocations: 12.25 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/0.1342, allocations: 3.984 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1342, allocations: 7.938 kB / 446.9 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1342, allocations: 12 kB / 446.9 MB, free: 88 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1344, allocations: 143.2 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1344, allocations: 0 / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1346, allocations: 20 kB / 447.1 MB, free: 15.93 MB / 334.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.001541/0.1362, allocations: 1.098 MB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1364, allocations: 59.92 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1364, allocations: 0 / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.577e-05/0.1365, allocations: 35.92 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1368, allocations: 30.12 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1386, allocations: 1.623 MB / 450 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1389, allocations: 0.704 MB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.27e-05/0.139, allocations: 13.19 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.1391, allocations: 35.42 kB / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1391, allocations: 0 / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.1622, allocations: 3.301 MB / 454 MB, free: 8.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/7.917, allocations: 7.875 kB / 454 MB, free: 8.949 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_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_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches