Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.00153/0.001531, allocations: 105.2 kB / 17.63 MB, free: 5.344 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.001806/0.001806, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2031/0.2031, allocations: 44.19 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 72.33 kB / 408.6 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1048, allocations: 60.81 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002901/0.1078, allocations: 1.661 MB / 471 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1091, allocations: 0.8497 MB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.1091, allocations: 3.938 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.1094, allocations: 63.78 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1097, allocations: 67.73 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1099, allocations: 110.3 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.1101, allocations: 91.7 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.1102, allocations: 11.98 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.1102, allocations: 43.84 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.1103, allocations: 47.77 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1104, allocations: 0 / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.136e-05/0.1105, allocations: 35.92 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.1105, allocations: 23.92 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.1106, allocations: 27.81 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1107, allocations: 99.92 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1108, allocations: 0 / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1108, allocations: 11.94 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1108, allocations: 3.984 kB / 472.5 MB, free: 11.09 MB / 350.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.0004703/0.1113, allocations: 391 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1113, allocations: 12.03 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.1113, allocations: 30.75 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.1114, allocations: 12.84 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1116, allocations: 216 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1116, allocations: 384 / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.1116, allocations: 3.938 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.1117, allocations: 53.67 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1118, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1118, allocations: 4 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1118, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.16e-05/0.1119, allocations: 11.98 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.112, allocations: 181.6 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1122, allocations: 62.5 kB / 473.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.1123, allocations: 24.78 kB / 473.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.1123, allocations: 4 kB / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.1125, allocations: 59.39 kB / 473.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1125, allocations: 0 / 473.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002739/0.1127, allocations: 93.52 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.1128, allocations: 63.41 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.113, allocations: 186.1 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.113, allocations: 25.7 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.1131, allocations: 100.1 kB / 474 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1131, allocations: 15.81 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.1131, allocations: 17.72 kB / 474 MB, free: 9.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1133, allocations: 322.8 kB / 474.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.817e-05/0.1133, allocations: 15.98 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.646e-05/0.1134, allocations: 33.7 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.347e-05/0.1135, allocations: 45.66 kB / 474.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1135, allocations: 3.938 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000154/0.1137, allocations: 77.83 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1137, allocations: 8 kB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1137, allocations: 4.062 kB / 474.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1137, allocations: 4.031 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.1138, allocations: 11.94 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1138, allocations: 4 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.1138, allocations: 3.984 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1139, allocations: 4 kB / 474.6 MB, free: 8.785 MB / 350.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 9.504e-05/0.114, allocations: 121.8 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.114, allocations: 11.81 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.114, allocations: 20.23 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.114, allocations: 0 / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1141, allocations: 4 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1141, allocations: 0 / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.1142, allocations: 189.5 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1142, allocations: 0 / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.1142, allocations: 4 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1142, allocations: 0 / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1142, allocations: 3.984 kB / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1143, allocations: 4 kB / 474.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1143, allocations: 3.938 kB / 474.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.1144, allocations: 116.9 kB / 475 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.1145, allocations: 85 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1145, allocations: 4 kB / 475.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.343e-05/0.1146, allocations: 0 / 475.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.1146, allocations: 11.98 kB / 475.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1146, allocations: 0 / 475.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1147, allocations: 139.2 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1147, allocations: 0 / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.115, allocations: 15.98 kB / 475.3 MB, free: 7.965 MB / 350.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.001222/0.1162, allocations: 0.948 MB / 476.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.1163, allocations: 35.98 kB / 476.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1164, allocations: 0 / 476.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.1164, allocations: 27.98 kB / 476.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1167, allocations: 36.16 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.1181, allocations: 1.489 MB / 477.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.1184, allocations: 0.6963 MB / 478.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.528e-05/0.1184, allocations: 12.55 kB / 478.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.1185, allocations: 31.42 kB / 478.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1185, allocations: 0 / 478.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.1387, allocations: 2.98 MB / 481.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.307, allocations: 13.5 kB / 481.6 MB, free: 1.797 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches