Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.000783/0.0007828, allocations: 95.03 kB / 17.35 MB, free: 6.371 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.0009962/0.0009962, allocations: 175.5 kB / 18.25 MB, free: 5.523 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.318/1.318, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2129/0.2129, allocations: 44.25 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 12.59 kB / 410.5 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 61.91 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.001948/0.1089, allocations: 1.618 MB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1101, allocations: 0.8849 MB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.1102, allocations: 7.938 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.1105, allocations: 39.83 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.1106, allocations: 47.77 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1109, allocations: 110.7 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1111, allocations: 127.6 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.1112, allocations: 29.47 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.296e-05/0.1113, allocations: 55.66 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.1114, allocations: 39.72 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1114, allocations: 8 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.1115, allocations: 39.98 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.1115, allocations: 23.91 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.1116, allocations: 77.31 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.1118, allocations: 135.8 kB / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.1118, allocations: 3.938 kB / 475.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1118, allocations: 0 / 475.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1118, allocations: 0 / 475.6 MB, free: 9.98 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004969/0.1123, allocations: 462.9 kB / 476 MB, free: 9.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1124, allocations: 8.031 kB / 476.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.1124, allocations: 42.73 kB / 476.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1125, allocations: 16.75 kB / 476.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1127, allocations: 223.9 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1127, allocations: 8.359 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.1127, allocations: 11.94 kB / 476.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1129, allocations: 108.2 kB / 476.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1129, allocations: 0 / 476.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.113, allocations: 3.984 kB / 476.5 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.113, allocations: 0 / 476.5 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1131, allocations: 55.91 kB / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.1136, allocations: 0.5087 MB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.1139, allocations: 94.66 kB / 477.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.114, allocations: 40.83 kB / 477.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.114, allocations: 0 / 477.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.1142, allocations: 87.31 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.735e-06/0.1143, allocations: 0 / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003556/0.1146, allocations: 161.3 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.1147, allocations: 51.41 kB / 477.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1148, allocations: 191.5 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1148, allocations: 29.7 kB / 477.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.1149, allocations: 112 kB / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1149, allocations: 23.62 kB / 477.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.115, allocations: 25.7 kB / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.1151, allocations: 326.8 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.1152, allocations: 31.98 kB / 478.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.492e-05/0.1153, allocations: 64.2 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1155, allocations: 108.5 kB / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1155, allocations: 4 kB / 478.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002471/0.1157, allocations: 137.5 kB / 478.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1157, allocations: 7.984 kB / 478.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1157, allocations: 0 / 478.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1158, allocations: 7.938 kB / 478.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.1159, allocations: 23.98 kB / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1159, allocations: 3.938 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.1159, allocations: 23.97 kB / 478.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.116, allocations: 4 kB / 478.6 MB, free: 6.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.647e-05/0.1161, allocations: 125.8 kB / 478.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.1161, allocations: 15.81 kB / 478.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.1161, allocations: 13.41 kB / 478.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1161, allocations: 3.938 kB / 478.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1161, allocations: 0 / 478.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1161, allocations: 3.984 kB / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.1163, allocations: 209.6 kB / 478.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1163, allocations: 4 kB / 478.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.1164, allocations: 19.92 kB / 478.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1164, allocations: 0 / 478.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1164, allocations: 4 kB / 478.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1164, allocations: 7.938 kB / 478.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1164, allocations: 3.984 kB / 479 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.1168, allocations: 192.8 kB / 479.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.1168, allocations: 92.89 kB / 479.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.1169, allocations: 8 kB / 479.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/0.1169, allocations: 15.86 kB / 479.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.117, allocations: 7.984 kB / 479.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.117, allocations: 4 kB / 479.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.63e-05/0.1171, allocations: 137.2 kB / 479.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1171, allocations: 4.062 kB / 479.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1173, allocations: 24 kB / 479.4 MB, free: 5.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.00128/0.1186, allocations: 1.021 MB / 480.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1188, allocations: 87.83 kB / 480.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1188, allocations: 0 / 480.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9e-05/0.1189, allocations: 35.98 kB / 480.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.1192, allocations: 40.16 kB / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1209, allocations: 1.778 MB / 482.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.1212, allocations: 0.72 MB / 483.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.24e-05/0.1212, allocations: 17.42 kB / 483.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.1213, allocations: 39.8 kB / 483.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1213, allocations: 0 / 483.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.134, allocations: 3.3 MB / 486.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/0.1343, allocations: 234.2 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/1.861, allocations: 0 / 486.7 MB, free: 14.59 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches