Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.001371/0.001371, allocations: 103.1 kB / 16.27 MB, free: 5.961 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.001197/0.001197, allocations: 190.2 kB / 17.19 MB, free: 5.594 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.492/1.492, 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.2228/0.2228, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.00166/0.00166, allocations: 70.7 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1074, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002827/0.1103, allocations: 1.693 MB / 442.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1114, allocations: 0.8 MB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.872e-05/0.1115, allocations: 4 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1119, allocations: 39.75 kB / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.1121, allocations: 51.77 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.1124, allocations: 83.72 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1126, allocations: 99.67 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1127, allocations: 12.17 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.383e-05/0.1128, allocations: 43.8 kB / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.1129, allocations: 27.84 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.1129, allocations: 4 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.113, allocations: 39.98 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.1131, allocations: 19.92 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.1132, allocations: 31.8 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1134, allocations: 115.6 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1134, allocations: 0 / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1134, allocations: 0 / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1134, allocations: 0 / 443.7 MB, free: 3.73 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.000457/0.1138, allocations: 410.9 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1139, allocations: 15.89 kB / 444.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.537e-05/0.1139, allocations: 34.75 kB / 444.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.114, allocations: 8.844 kB / 444.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.1141, allocations: 206.1 kB / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1141, allocations: 4.375 kB / 444.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.1142, allocations: 3.938 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1143, allocations: 61.61 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1143, allocations: 0 / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1143, allocations: 4 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1143, allocations: 0 / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.334e-05/0.1144, allocations: 19.98 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.1147, allocations: 280.9 kB / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1148, allocations: 58.61 kB / 444.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.1149, allocations: 28.8 kB / 444.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1149, allocations: 0 / 444.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.1151, allocations: 63.38 kB / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1151, allocations: 4 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004614/0.1156, allocations: 177.2 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.1156, allocations: 55.41 kB / 445.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1157, allocations: 182 kB / 445.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.1157, allocations: 25.7 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.1158, allocations: 104.1 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.1158, allocations: 23.7 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.1159, allocations: 17.72 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.1159, allocations: 326.8 kB / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.228e-05/0.116, allocations: 19.98 kB / 445.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-05/0.116, allocations: 41.64 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.287e-05/0.1161, allocations: 61.7 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1161, allocations: 0 / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000152/0.1163, allocations: 101.5 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1163, allocations: 4 kB / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1163, allocations: 0 / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1163, allocations: 4 kB / 446 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.1164, allocations: 19.98 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1164, allocations: 4.031 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.1165, allocations: 7.938 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1165, allocations: 4 kB / 446 MB, free: 1.152 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 6.963e-05/0.1166, allocations: 129.7 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.1166, allocations: 15.81 kB / 446.2 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.1167, allocations: 12.72 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1167, allocations: 0 / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1167, allocations: 0 / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.1167, allocations: 7.922 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.117, allocations: 391.3 kB / 446.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.117, allocations: 0 / 446.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.1171, allocations: 8 kB / 446.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.1171, allocations: 3.938 kB / 446.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.1171, allocations: 4 kB / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1171, allocations: 4 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1171, allocations: 192 / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.1173, allocations: 200.3 kB / 446.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.1173, allocations: 88.94 kB / 446.9 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1173, allocations: 11.94 kB / 446.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.1174, allocations: 384 / 446.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.1175, allocations: 7.984 kB / 446.9 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1175, allocations: 8 kB / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.143e-05/0.1175, allocations: 135.2 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1176, allocations: 0 / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1178, allocations: 27.98 kB / 447.1 MB, free: 4 kB / 318.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.001404/0.1192, allocations: 1.103 MB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1194, allocations: 67.95 kB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1194, allocations: 0 / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.1195, allocations: 27.94 kB / 448.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1199, allocations: 28.09 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.1216, allocations: 1.597 MB / 449.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1219, allocations: 0.7117 MB / 450.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.324e-05/0.1219, allocations: 21.17 kB / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.122, allocations: 27.42 kB / 450.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.122, allocations: 7.938 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.1421, allocations: 3.247 MB / 453.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/7.848, allocations: 8 kB / 453.9 MB, free: 9.086 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_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_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches