Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.001074/0.001074, allocations: 104.2 kB / 17.63 MB, free: 5.531 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.001081/0.001081, allocations: 191.9 kB / 18.56 MB, free: 4.609 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.326/1.326, allocations: 222.9 MB / 242.3 MB, free: 15.27 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.2088/0.2088, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 68.48 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.1003, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003163/0.1035, allocations: 1.708 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1049, allocations: 0.8768 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.699e-05/0.105, allocations: 3.938 kB / 472 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.1052, allocations: 51.81 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.1055, allocations: 63.69 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1058, allocations: 107.6 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.106, allocations: 95.7 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.1061, allocations: 12.22 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.1062, allocations: 39.8 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.1062, allocations: 35.84 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1063, allocations: 4 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1064, allocations: 39.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.1065, allocations: 27.91 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.1065, allocations: 39.67 kB / 472.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1067, allocations: 127.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1068, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.127e-06/0.1068, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1068, allocations: 3.938 kB / 472.6 MB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005949/0.1074, allocations: 446.7 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1074, allocations: 12.03 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.1075, allocations: 34.75 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.1075, allocations: 12.75 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1078, allocations: 216 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1078, allocations: 384 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.1078, allocations: 11.92 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.108, allocations: 57.61 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.108, allocations: 7.938 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.108, allocations: 0 / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.108, allocations: 0 / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.532e-05/0.1081, allocations: 23.98 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.1085, allocations: 292.9 kB / 473.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1087, allocations: 58.62 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.1088, allocations: 28.84 kB / 473.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.1088, allocations: 0 / 473.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.109, allocations: 63.39 kB / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.109, allocations: 0 / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005527/0.1096, allocations: 185 kB / 474 MB, free: 9.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1096, allocations: 59.41 kB / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1099, allocations: 266.9 kB / 474.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1099, allocations: 29.7 kB / 474.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.11, allocations: 108.1 kB / 474.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.11, allocations: 23.7 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.11, allocations: 29.7 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.1101, allocations: 322.8 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.1102, allocations: 27.92 kB / 474.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.1103, allocations: 41.64 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1104, allocations: 57.78 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1104, allocations: 0 / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000186/0.1106, allocations: 109.4 kB / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1106, allocations: 4 kB / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1106, allocations: 0 / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1107, allocations: 0 / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.1107, allocations: 24.02 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1108, allocations: 0 / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.1108, allocations: 11.88 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.1108, allocations: 4 kB / 475.1 MB, free: 8.273 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 (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 0.0001159/0.1109, allocations: 133.8 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.111, allocations: 15.81 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.111, allocations: 25.39 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.111, allocations: 0 / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1111, allocations: 0 / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1111, allocations: 7.938 kB / 475.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.1115, allocations: 399.5 kB / 475.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1115, allocations: 0 / 475.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.1116, allocations: 11.94 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1116, allocations: 7.938 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1116, allocations: 4.375 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1116, allocations: 0 / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1116, allocations: 0 / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.1118, allocations: 216.2 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.1119, allocations: 88.92 kB / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.1119, allocations: 11.88 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.112, allocations: 4 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1121, allocations: 3.984 kB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1121, allocations: 4 kB / 476 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.1123, allocations: 204.2 kB / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1123, allocations: 0 / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1125, allocations: 23.98 kB / 476.2 MB, free: 7.031 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 (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.001396/0.1139, allocations: 1.098 MB / 477.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1141, allocations: 63.97 kB / 477.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1141, allocations: 0 / 477.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.1142, allocations: 32.06 kB / 477.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1146, allocations: 31.91 kB / 477.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.1164, allocations: 1.806 MB / 479.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1166, allocations: 0.7158 MB / 480 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.211e-05/0.1167, allocations: 16.88 kB / 480 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.1168, allocations: 39.42 kB / 480 MB, free: 3.266 MB / 350.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1168, allocations: 0 / 480 MB, free: 3.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.1384, allocations: 3.629 MB / 483.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/7.877, allocations: 12.05 kB / 483.7 MB, free: 15.72 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches