Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.0007594/0.0007596, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007852/0.0007852, allocations: 182.7 kB / 16.92 MB, free: 6.922 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.31/1.31, allocations: 205.4 MB / 223.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3144/0.3144, allocations: 43.58 MB / 315 MB, free: 8.957 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.0005162/0.0005163, allocations: 16 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1065, allocations: 58.87 MB / 443.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.001877/0.1084, allocations: 1.418 MB / 445 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1101, allocations: 1.352 MB / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.1102, allocations: 3.938 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1104, allocations: 35.89 kB / 446.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.1106, allocations: 47.83 kB / 446.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1108, allocations: 75.84 kB / 446.5 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.111, allocations: 95.7 kB / 446.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.179e-05/0.1111, allocations: 8.219 kB / 446.6 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.64e-05/0.1112, allocations: 47.7 kB / 446.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.1113, allocations: 35.84 kB / 446.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1113, allocations: 0 / 446.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1114, allocations: 55.97 kB / 446.7 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.1115, allocations: 15.92 kB / 446.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.1115, allocations: 61.44 kB / 446.8 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1117, allocations: 119.9 kB / 446.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1117, allocations: 0 / 446.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1117, allocations: 0 / 446.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1117, allocations: 0 / 446.9 MB, free: 9.43 MB / 382.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.00046/0.1122, allocations: 399.2 kB / 447.3 MB, free: 8.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1123, allocations: 8.031 kB / 447.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.1123, allocations: 38.75 kB / 447.3 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.1123, allocations: 12.78 kB / 447.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1125, allocations: 200.1 kB / 447.6 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1126, allocations: 4.375 kB / 447.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1126, allocations: 15.88 kB / 447.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1127, allocations: 71.33 kB / 447.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1128, allocations: 0 / 447.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.1128, allocations: 0 / 447.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1128, allocations: 0 / 447.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.744e-05/0.1129, allocations: 19.98 kB / 447.7 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.1132, allocations: 288.9 kB / 447.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1134, allocations: 58.61 kB / 448 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.1134, allocations: 24.84 kB / 448 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1135, allocations: 3.984 kB / 448 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.1136, allocations: 71.39 kB / 448.1 MB, free: 8.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1136, allocations: 0 / 448.1 MB, free: 8.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004792/0.1141, allocations: 165.2 kB / 448.3 MB, free: 7.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1142, allocations: 85.09 kB / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1143, allocations: 153 kB / 448.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1143, allocations: 29.7 kB / 448.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.1144, allocations: 100 kB / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.1144, allocations: 19.66 kB / 448.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.1145, allocations: 29.64 kB / 448.7 MB, free: 7.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.1146, allocations: 322.8 kB / 449 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.1146, allocations: 15.98 kB / 449 MB, free: 7.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-05/0.1147, allocations: 46.56 kB / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1148, allocations: 53.7 kB / 449.1 MB, free: 6.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1148, allocations: 8.031 kB / 449.1 MB, free: 6.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001707/0.115, allocations: 101.5 kB / 449.2 MB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.115, allocations: 4 kB / 449.2 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.115, allocations: 0 / 449.2 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.115, allocations: 7.984 kB / 449.2 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.1151, allocations: 12 kB / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1151, allocations: 3.938 kB / 449.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.1152, allocations: 7.938 kB / 449.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1152, allocations: 4 kB / 449.2 MB, free: 6.836 MB / 382.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.892e-05/0.1153, allocations: 129.5 kB / 449.4 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.1153, allocations: 8.094 kB / 449.4 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.1154, allocations: 12.72 kB / 449.4 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1154, allocations: 3.938 kB / 449.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1154, allocations: 4 kB / 449.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.1154, allocations: 11.86 kB / 449.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.1158, allocations: 383.3 kB / 449.8 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.1158, allocations: 4.031 kB / 449.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.1159, allocations: 8 kB / 449.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1159, allocations: 3.938 kB / 449.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1159, allocations: 7.984 kB / 449.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1159, allocations: 4 kB / 449.8 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1159, allocations: 0 / 449.8 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.1161, allocations: 204.5 kB / 450 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.1162, allocations: 85.02 kB / 450.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.1162, allocations: 11.92 kB / 450.1 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.1163, allocations: 8.375 kB / 450.1 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1163, allocations: 4 kB / 450.1 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1163, allocations: 3.984 kB / 450.1 MB, free: 5.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.001e-05/0.1164, allocations: 115.3 kB / 450.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1164, allocations: 0 / 450.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1167, allocations: 35.89 kB / 450.3 MB, free: 5.707 MB / 382.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.001523/0.1182, allocations: 1.148 MB / 451.4 MB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1184, allocations: 55.92 kB / 451.5 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1184, allocations: 0 / 451.5 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.1185, allocations: 27.98 kB / 451.5 MB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1188, allocations: 28.11 kB / 451.5 MB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1204, allocations: 1.577 MB / 453.1 MB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.1207, allocations: 0.7004 MB / 453.8 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.476e-05/0.1207, allocations: 12.88 kB / 453.8 MB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.1208, allocations: 35.42 kB / 453.9 MB, free: 2.008 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1208, allocations: 0 / 453.9 MB, free: 2.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1916/0.3124, allocations: 3.063 MB / 456.9 MB, free: 45.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001274/0.3125, allocations: 239.4 kB / 457.2 MB, free: 45.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.933, allocations: 3.781 kB / 457.2 MB, free: 45.56 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches