Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.001174/0.001174, allocations: 100.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.001615/0.001616, allocations: 192 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.392/1.392, allocations: 205.1 MB / 223.1 MB, free: 12.16 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.2343/0.2343, allocations: 43.52 MB / 313.9 MB, free: 0.5039 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.001506/0.001506, allocations: 74.19 kB / 382.8 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 57.8 MB / 440.6 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00272/0.1161, allocations: 1.689 MB / 442.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1171, allocations: 0.7922 MB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.1172, allocations: 8 kB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.1175, allocations: 47.75 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1177, allocations: 55.75 kB / 443.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.118, allocations: 91.75 kB / 443.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1181, allocations: 115.7 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1182, allocations: 12.17 kB / 443.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.1183, allocations: 47.78 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.104e-05/0.1184, allocations: 51.77 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1184, allocations: 4 kB / 443.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.682e-05/0.1185, allocations: 43.98 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.1186, allocations: 27.91 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.1186, allocations: 43.73 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1188, allocations: 123.6 kB / 443.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1188, allocations: 0 / 443.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1188, allocations: 0 / 443.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1188, allocations: 0 / 443.8 MB, free: 3.605 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004761/0.1193, allocations: 418.9 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1193, allocations: 15.83 kB / 444.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.1194, allocations: 34.75 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.1194, allocations: 12.75 kB / 444.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.1196, allocations: 222.2 kB / 444.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1196, allocations: 4.375 kB / 444.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1197, allocations: 7.938 kB / 444.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1198, allocations: 61.66 kB / 444.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1198, allocations: 3.938 kB / 444.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1199, allocations: 12 kB / 444.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1199, allocations: 3.938 kB / 444.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.784e-05/0.12, allocations: 39.91 kB / 444.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.1203, allocations: 312.7 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1205, allocations: 78.66 kB / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.1206, allocations: 36.84 kB / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1206, allocations: 0 / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.1208, allocations: 87.3 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1208, allocations: 0 / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005623/0.1214, allocations: 221.2 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1214, allocations: 55.41 kB / 445.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1215, allocations: 191.3 kB / 445.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1216, allocations: 29.7 kB / 445.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.1216, allocations: 100.1 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.1216, allocations: 31.55 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.1217, allocations: 29.72 kB / 445.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.1217, allocations: 322.8 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.1218, allocations: 27.98 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.1219, allocations: 49.69 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.122, allocations: 81.64 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.122, allocations: 4 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001816/0.1222, allocations: 121.5 kB / 446.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1222, allocations: 7.984 kB / 446.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1222, allocations: 4.188 kB / 446.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1222, allocations: 0 / 446.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.1223, allocations: 23.88 kB / 446.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1224, allocations: 7.969 kB / 446.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.1224, allocations: 7.984 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1224, allocations: 7.938 kB / 446.4 MB, free: 0.7422 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 (12): * Single equations (assignments): 12 * 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.742e-05/0.1225, allocations: 125.8 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.1225, allocations: 15.8 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.1226, allocations: 21.41 kB / 446.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1226, allocations: 0 / 446.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1226, allocations: 3.938 kB / 446.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1226, allocations: 4 kB / 446.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.123, allocations: 427.2 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.123, allocations: 0 / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.1231, allocations: 15.98 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1231, allocations: 3.938 kB / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1231, allocations: 8 kB / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1231, allocations: 0 / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1231, allocations: 0 / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.1234, allocations: 232.2 kB / 447.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.1235, allocations: 88.95 kB / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.1235, allocations: 0 / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.1236, allocations: 8 kB / 447.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1236, allocations: 7.984 kB / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1236, allocations: 4 kB / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1238, allocations: 147.9 kB / 447.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1238, allocations: 0 / 447.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.124, allocations: 24 kB / 447.5 MB, free: 15.52 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 (10): * Single equations (assignments): 8 * 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.001555/0.1256, allocations: 1.136 MB / 448.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1258, allocations: 87.89 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1259, allocations: 0 / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.126, allocations: 39.92 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1263, allocations: 30.14 kB / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.1284, allocations: 1.732 MB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1287, allocations: 0.7084 MB / 451.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.541e-05/0.1288, allocations: 21.06 kB / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.1289, allocations: 43.42 kB / 451.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of SimCode: time 1.863e-06/0.1289, allocations: 0 / 451.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.1496, allocations: 3.568 MB / 454.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.568, allocations: 15.94 kB / 454.9 MB, free: 8.07 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches