Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.001278/0.001278, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001454/0.001455, allocations: 188.1 kB / 17.2 MB, free: 5.574 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.737/1.737, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.232/0.232, 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.001601/0.001601, allocations: 80.06 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1168, allocations: 57.79 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002995/0.1199, allocations: 1.841 MB / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1211, allocations: 0.8896 MB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.432e-05/0.1212, allocations: 4 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.1215, allocations: 163.5 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.1218, allocations: 131.5 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.1222, allocations: 151.5 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.1224, allocations: 207.4 kB / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1225, allocations: 21.5 kB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1227, allocations: 111.5 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1228, allocations: 123.6 kB / 444.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1228, allocations: 8 kB / 444.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.1229, allocations: 43.98 kB / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.123, allocations: 51.77 kB / 444.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.1231, allocations: 71.48 kB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1233, allocations: 187.4 kB / 444.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1233, allocations: 0 / 444.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1233, allocations: 4 kB / 444.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1233, allocations: 0 / 444.6 MB, free: 2.77 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006186/0.1239, allocations: 0.5098 MB / 445.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.124, allocations: 15.89 kB / 445.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.124, allocations: 38.73 kB / 445.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.1241, allocations: 24.66 kB / 445.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1243, allocations: 267.6 kB / 445.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1243, allocations: 4.375 kB / 445.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1244, allocations: 15.94 kB / 445.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1246, allocations: 99.28 kB / 445.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1246, allocations: 0 / 445.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1246, allocations: 4 kB / 445.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1246, allocations: 0 / 445.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1247, allocations: 35.97 kB / 445.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.1251, allocations: 448.8 kB / 446.1 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.1254, allocations: 113.3 kB / 446.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.1255, allocations: 45.69 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1255, allocations: 3.938 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.1258, allocations: 117 kB / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1258, allocations: 0 / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007654/0.1266, allocations: 364 kB / 446.7 MB, free: 492 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1266, allocations: 85.03 kB / 446.8 MB, free: 388 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.1269, allocations: 355 kB / 447.1 MB, free: 24 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.1269, allocations: 25.7 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.127, allocations: 144.4 kB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.1271, allocations: 43.36 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.1271, allocations: 41.64 kB / 447.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1273, allocations: 338.8 kB / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1274, allocations: 43.94 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1275, allocations: 73.36 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.1277, allocations: 115.3 kB / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1277, allocations: 8 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002985/0.128, allocations: 173.3 kB / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1281, allocations: 8 kB / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1281, allocations: 0 / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1281, allocations: 4 kB / 448.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.1283, allocations: 43.86 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1283, allocations: 4 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.1283, allocations: 11.92 kB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1284, allocations: 8.062 kB / 448.2 MB, free: 14.91 MB / 334.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.0001354/0.1285, allocations: 153.8 kB / 448.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.1286, allocations: 35.55 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.1286, allocations: 30.05 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1286, allocations: 3.938 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1287, allocations: 4 kB / 448.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1287, allocations: 0 / 448.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.1294, allocations: 0.6048 MB / 449 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.1294, allocations: 4 kB / 449 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.1294, allocations: 19.92 kB / 449 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1294, allocations: 4 kB / 449 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.1295, allocations: 8 kB / 449 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1295, allocations: 0 / 449 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1295, allocations: 3.938 kB / 449 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.1299, allocations: 367.7 kB / 449.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.1299, allocations: 96.83 kB / 449.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.13, allocations: 7.984 kB / 449.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1301, allocations: 4 kB / 449.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.1301, allocations: 19.98 kB / 449.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.1302, allocations: 8 kB / 449.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.1304, allocations: 269.9 kB / 449.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1304, allocations: 0 / 449.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.1307, allocations: 39.98 kB / 449.8 MB, free: 13.13 MB / 334.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.001646/0.1324, allocations: 1.256 MB / 451.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1327, allocations: 123.8 kB / 451.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1327, allocations: 4 kB / 451.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.1328, allocations: 55.91 kB / 451.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.1334, allocations: 63.44 kB / 451.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.136, allocations: 2.458 MB / 453.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1364, allocations: 0.7514 MB / 454.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.89e-05/0.1365, allocations: 33.92 kB / 454.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.1366, allocations: 75.41 kB / 454.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1366, allocations: 0 / 454.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.1602, allocations: 5.308 MB / 460 MB, free: 2.902 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/7.749, allocations: 11.97 kB / 460 MB, free: 2.891 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches