Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.001244/0.001245, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001184/0.001185, allocations: 181 kB / 18.71 MB, free: 4.207 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.443/1.443, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2177/0.2177, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3578, allocations: 60.83 MB / 0.5185 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002756/0.3606, allocations: 1.719 MB / 0.5202 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3618, allocations: 0.8769 MB / 0.5211 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.3619, allocations: 5.219 kB / 0.5211 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.3623, allocations: 81.36 kB / 0.5211 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.3626, allocations: 80.22 kB / 0.5212 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.3629, allocations: 114.5 kB / 0.5213 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.3631, allocations: 118.9 kB / 0.5214 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3632, allocations: 17.33 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.3633, allocations: 56.66 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3635, allocations: 71.69 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.3635, allocations: 4.469 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.3636, allocations: 50.47 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.3637, allocations: 29.14 kB / 0.5217 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.3638, allocations: 43.52 kB / 0.5217 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.364, allocations: 132.4 kB / 0.5218 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.364, allocations: 4 kB / 0.5218 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.364, allocations: 0 / 0.5218 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.364, allocations: 0 / 0.5218 GB, free: 1.039 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004894/0.3645, allocations: 442.6 kB / 0.5223 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3646, allocations: 8.938 kB / 0.5223 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.449e-05/0.3646, allocations: 36.77 kB / 0.5223 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.3646, allocations: 11.92 kB / 0.5223 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.3649, allocations: 216.3 kB / 0.5225 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3649, allocations: 6.531 kB / 0.5225 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.3649, allocations: 11.72 kB / 0.5225 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.3651, allocations: 56.98 kB / 0.5226 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3651, allocations: 1.156 kB / 0.5226 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3651, allocations: 0 / 0.5226 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3651, allocations: 1.719 kB / 0.5226 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.3652, allocations: 25.36 kB / 0.5226 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.3656, allocations: 308.8 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.3658, allocations: 61.25 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.572e-05/0.3659, allocations: 24.73 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3659, allocations: 1.281 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.3661, allocations: 71.64 kB / 0.5231 GB, free: 15.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3661, allocations: 0 / 0.5231 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007885/0.3669, allocations: 250.2 kB / 0.5233 GB, free: 15.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.367, allocations: 61.47 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.3672, allocations: 217.1 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.3672, allocations: 31.67 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.3673, allocations: 106.6 kB / 0.5237 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.3674, allocations: 36.25 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.3674, allocations: 27.06 kB / 0.5238 GB, free: 15.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3676, allocations: 332.1 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.338e-05/0.3677, allocations: 27.61 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.598e-05/0.3678, allocations: 48.27 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.368, allocations: 79.53 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.368, allocations: 0 / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002336/0.3682, allocations: 125.8 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3682, allocations: 8.5 kB / 0.5244 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3683, allocations: 1.891 kB / 0.5244 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3683, allocations: 5.031 kB / 0.5244 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.3684, allocations: 31.5 kB / 0.5244 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.3684, allocations: 2.047 kB / 0.5244 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.3684, allocations: 3.031 kB / 0.5244 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3685, allocations: 3.594 kB / 0.5244 GB, free: 14.87 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001317/0.3686, allocations: 138.2 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.3686, allocations: 11.48 kB / 0.5245 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/0.3687, allocations: 30.19 kB / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3687, allocations: 5.25 kB / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3687, allocations: 1.188 kB / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3687, allocations: 0.6094 kB / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.3693, allocations: 453 kB / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3693, allocations: 0 / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.3694, allocations: 18.42 kB / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3694, allocations: 5.688 kB / 0.525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3694, allocations: 7.438 kB / 0.525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3694, allocations: 1.406 kB / 0.525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3694, allocations: 0.7031 kB / 0.525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.3697, allocations: 236.1 kB / 0.5253 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.3698, allocations: 93.81 kB / 0.5254 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.3698, allocations: 11.75 kB / 0.5254 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.3699, allocations: 2.203 kB / 0.5254 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.37, allocations: 11.67 kB / 0.5254 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.37, allocations: 6.188 kB / 0.5254 GB, free: 14.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.3702, allocations: 173.9 kB / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3702, allocations: 2.281 kB / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.3704, allocations: 28.91 kB / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002401/0.3729, allocations: 1.171 MB / 0.5267 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.3731, allocations: 85.12 kB / 0.5268 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3731, allocations: 5.438 kB / 0.5268 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.3732, allocations: 43.23 kB / 0.5269 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.3736, allocations: 31.72 kB / 0.5269 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3758, allocations: 1.812 MB / 0.5287 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.3761, allocations: 0.7218 MB / 0.5294 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.498e-05/0.3762, allocations: 19.05 kB / 0.5294 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.3763, allocations: 41.22 kB / 0.5294 GB, free: 10.82 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3763, allocations: 5.125 kB / 0.5294 GB, free: 10.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.4034, allocations: 3.854 MB / 0.5332 GB, free: 9.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.262, allocations: 17.12 kB / 0.5332 GB, free: 9.031 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches