Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.001153/0.001153, allocations: 103.2 kB / 16.27 MB, free: 5.887 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.001374/0.001374, allocations: 192.6 kB / 17.2 MB, free: 5.531 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.684/1.684, 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.2232/0.2232, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001479/0.001479, allocations: 72.05 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1138, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002848/0.1167, allocations: 1.648 MB / 442.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1179, allocations: 0.7828 MB / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.118, allocations: 4 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.1183, allocations: 55.78 kB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.1185, allocations: 71.67 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.1187, allocations: 75.78 kB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.1188, allocations: 111.7 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.1189, allocations: 4.281 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.1189, allocations: 43.78 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.119, allocations: 43.83 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.119, allocations: 0 / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.1191, allocations: 28 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.1192, allocations: 23.91 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.1192, allocations: 27.75 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1194, allocations: 99.64 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1194, allocations: 4 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1194, allocations: 0 / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1194, allocations: 4 kB / 443.7 MB, free: 3.758 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003975/0.1198, allocations: 406.9 kB / 444 MB, free: 3.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1198, allocations: 15.89 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.1199, allocations: 30.75 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.1199, allocations: 8.844 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.1201, allocations: 205.2 kB / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1201, allocations: 384 / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.1201, allocations: 11.94 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1202, allocations: 53.61 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1202, allocations: 0 / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.1203, allocations: 0 / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1203, allocations: 0 / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.319e-05/0.1203, allocations: 15.98 kB / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.1205, allocations: 181.6 kB / 444.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1206, allocations: 62.53 kB / 444.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.1207, allocations: 20.8 kB / 444.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1207, allocations: 4 kB / 444.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.1208, allocations: 67.39 kB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1208, allocations: 3.938 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002455/0.1211, allocations: 97.47 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.1211, allocations: 59.41 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1213, allocations: 186.1 kB / 445 MB, free: 2.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.1213, allocations: 29.7 kB / 445.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.1213, allocations: 100.1 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1214, allocations: 7.906 kB / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1214, allocations: 21.7 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.1215, allocations: 326.8 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/0.1215, allocations: 19.98 kB / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.545e-05/0.1216, allocations: 25.7 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.985e-05/0.1216, allocations: 45.7 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1216, allocations: 3.938 kB / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001255/0.1218, allocations: 81.44 kB / 445.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1218, allocations: 8 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1218, allocations: 4.031 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1218, allocations: 0 / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.1219, allocations: 8 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1219, allocations: 0 / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.071e-05/0.122, allocations: 11.92 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.122, allocations: 4 kB / 445.7 MB, free: 1.43 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 (7): * Single equations (assignments): 7 * 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 7.182e-05/0.1221, allocations: 136.9 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.1221, allocations: 7.906 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.1221, allocations: 16.3 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1221, allocations: 4 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1221, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1221, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.069e-05/0.1222, allocations: 181.6 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1222, allocations: 320 / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.1223, allocations: 11.98 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1223, allocations: 0 / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1223, allocations: 7.938 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1223, allocations: 4 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1223, allocations: 0 / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.1225, allocations: 116.8 kB / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.1225, allocations: 81.02 kB / 446.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1225, allocations: 8 kB / 446.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.23e-05/0.1226, allocations: 0 / 446.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1226, allocations: 7.984 kB / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1226, allocations: 0 / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.385e-05/0.1227, allocations: 135.2 kB / 446.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1227, allocations: 4 kB / 446.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.1229, allocations: 27.92 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001212/0.1241, allocations: 0.9447 MB / 447.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1243, allocations: 43.92 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1243, allocations: 64 / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/0.1244, allocations: 23.98 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.1246, allocations: 29.89 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.1263, allocations: 1.477 MB / 449 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1266, allocations: 0.7001 MB / 449.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.334e-05/0.1266, allocations: 12.42 kB / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.1267, allocations: 31.36 kB / 449.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1267, allocations: 4 kB / 449.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.1478, allocations: 2.99 MB / 452.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.694, allocations: 19.31 kB / 452.7 MB, free: 10.26 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches