Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.001089/0.001089, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001004/0.001004, allocations: 194 kB / 18.12 MB, free: 5.383 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.384/1.384, allocations: 222.9 MB / 241.8 MB, free: 13.65 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.2059/0.2059, allocations: 44.17 MB / 336.1 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.78 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1076, allocations: 60.83 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002704/0.1104, allocations: 1.761 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1122, allocations: 1.436 MB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.1122, allocations: 0 / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.1125, allocations: 43.77 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.1127, allocations: 51.83 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.1129, allocations: 95.77 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.1131, allocations: 99.69 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.1132, allocations: 12.22 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.1132, allocations: 35.8 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.1134, allocations: 39.83 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1134, allocations: 4 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1135, allocations: 59.97 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.1136, allocations: 23.86 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1136, allocations: 35.78 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1138, allocations: 127.9 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1138, allocations: 0 / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1138, allocations: 4 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.1139, allocations: 0 / 472.5 MB, free: 10.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004983/0.1144, allocations: 411 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1144, allocations: 8.031 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.1144, allocations: 42.75 kB / 472.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.1145, allocations: 8.844 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1147, allocations: 216.4 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1147, allocations: 3.984 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.1147, allocations: 4 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1149, allocations: 79.36 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1149, allocations: 0 / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1149, allocations: 4 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.115, allocations: 0 / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.72e-05/0.115, allocations: 27.98 kB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.1154, allocations: 304.7 kB / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1156, allocations: 66.67 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.1156, allocations: 24.84 kB / 473.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1157, allocations: 4 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.1158, allocations: 75.33 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.1158, allocations: 0 / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005272/0.1164, allocations: 197.3 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.1164, allocations: 85.05 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1166, allocations: 161.5 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1166, allocations: 29.7 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.1167, allocations: 100.1 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1167, allocations: 27.73 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1167, allocations: 29.66 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1169, allocations: 322.8 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.1169, allocations: 23.98 kB / 474.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.117, allocations: 50.5 kB / 474.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1171, allocations: 73.67 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1171, allocations: 0 / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001986/0.1173, allocations: 113.4 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1174, allocations: 7.984 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1174, allocations: 3.938 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1174, allocations: 0 / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.1175, allocations: 23.94 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1175, allocations: 0 / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.1175, allocations: 12.02 kB / 474.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1176, allocations: 4 kB / 474.9 MB, free: 8.125 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 (11): * Single equations (assignments): 11 * 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.045e-05/0.1177, allocations: 120.5 kB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.1177, allocations: 11.91 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.1177, allocations: 20.64 kB / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1177, allocations: 0 / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1177, allocations: 4 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1178, allocations: 0 / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.1182, allocations: 415.2 kB / 475.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1182, allocations: 0 / 475.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.1183, allocations: 11.98 kB / 475.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1183, allocations: 4 kB / 475.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1183, allocations: 0 / 475.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1183, allocations: 3.938 kB / 475.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1183, allocations: 96 / 475.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1185, allocations: 224.1 kB / 475.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.1186, allocations: 89 kB / 475.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1186, allocations: 0 / 475.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.1187, allocations: 8 kB / 475.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.1187, allocations: 11.92 kB / 475.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.1188, allocations: 4 kB / 475.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.482e-05/0.1188, allocations: 119.2 kB / 476 MB, free: 6.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1188, allocations: 4 kB / 476 MB, free: 6.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1191, allocations: 39.89 kB / 476 MB, free: 6.949 MB / 350.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 (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.001442/0.1206, allocations: 1.147 MB / 477.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1208, allocations: 67.92 kB / 477.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1208, allocations: 4 kB / 477.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.1209, allocations: 35.92 kB / 477.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1212, allocations: 30.22 kB / 477.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.1227, allocations: 1.635 MB / 478.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.123, allocations: 0.7002 MB / 479.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.1231, allocations: 28.94 kB / 479.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.1231, allocations: 31.42 kB / 479.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1231, allocations: 192 / 479.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7664/0.8896, allocations: 3.452 MB / 483.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.8898, allocations: 242.8 kB / 483.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.845, allocations: 4 kB / 483.4 MB, free: 15.73 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches