Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",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.001889/0.001889, allocations: 102.8 kB / 16.27 MB, free: 6.41 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.001872/0.001872, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.644/1.644, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.255/0.255, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.00169/0.00169, allocations: 78.33 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1185, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00296/0.1215, allocations: 1.689 MB / 442.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1226, allocations: 0.8 MB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.1227, allocations: 0 / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.123, allocations: 43.83 kB / 443.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.1233, allocations: 55.7 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1235, allocations: 87.75 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1237, allocations: 99.69 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1238, allocations: 8.172 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.659e-05/0.1239, allocations: 43.8 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.124, allocations: 31.84 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.124, allocations: 4 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.134e-05/0.1241, allocations: 39.92 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.1241, allocations: 19.92 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.1242, allocations: 35.73 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.1244, allocations: 111.7 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1244, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1244, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1244, allocations: 0 / 443.7 MB, free: 3.707 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.000461/0.1249, allocations: 411 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1249, allocations: 15.89 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.125, allocations: 38.73 kB / 444.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.125, allocations: 8.844 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1252, allocations: 212.9 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1252, allocations: 384 / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1253, allocations: 7.938 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1254, allocations: 53.67 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1254, allocations: 0 / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1254, allocations: 4 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1255, allocations: 0 / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.84e-05/0.1255, allocations: 27.98 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.1258, allocations: 288.7 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.126, allocations: 54.67 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.1261, allocations: 28.78 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1261, allocations: 0 / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.1263, allocations: 75.27 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1263, allocations: 0 / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004955/0.1268, allocations: 177.2 kB / 445.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.1268, allocations: 55.34 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.127, allocations: 202 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.127, allocations: 25.7 kB / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.127, allocations: 100.1 kB / 445.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1271, allocations: 19.72 kB / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.1271, allocations: 25.7 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.1272, allocations: 322.8 kB / 445.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.1272, allocations: 15.98 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.392e-05/0.1273, allocations: 41.7 kB / 445.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.1274, allocations: 61.64 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1274, allocations: 0 / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001569/0.1276, allocations: 93.59 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1276, allocations: 5.25 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1276, allocations: 0 / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1276, allocations: 0 / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.1277, allocations: 27.92 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1277, allocations: 4.031 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.1278, allocations: 7.938 kB / 446 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1278, allocations: 0 / 446 MB, free: 1.102 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.339e-05/0.1279, allocations: 137.7 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.1279, allocations: 11.81 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.128, allocations: 16.7 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.128, allocations: 0 / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.128, allocations: 0 / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.128, allocations: 7.938 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.1283, allocations: 391.3 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1283, allocations: 384 / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.1284, allocations: 8 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1284, allocations: 3.938 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1284, allocations: 8 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1284, allocations: 7.922 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1284, allocations: 192 / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.1286, allocations: 204.5 kB / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.1286, allocations: 96.8 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.1287, allocations: 3.938 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.1287, allocations: 4 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1288, allocations: 11.98 kB / 446.9 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1288, allocations: 4 kB / 446.9 MB, free: 92 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.1289, allocations: 143.2 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1289, allocations: 0 / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1292, 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.00145/0.1306, allocations: 1.098 MB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1309, allocations: 59.92 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1309, allocations: 0 / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.131, allocations: 31.92 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1313, allocations: 30.14 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1334, allocations: 1.631 MB / 450 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1338, allocations: 0.7079 MB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.409e-05/0.1339, 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 7.419e-05/0.134, allocations: 31.42 kB / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.134, allocations: 3.938 kB / 450.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.1567, allocations: 3.304 MB / 454 MB, free: 8.949 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.84, allocations: 3.938 kB / 454 MB, free: 8.945 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_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_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches