Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.00141/0.00141, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001425/0.001425, allocations: 184.2 kB / 18.71 MB, free: 4.332 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.412/1.412, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2238/0.2238, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 67.89 kB / 470.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3633, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002745/0.3661, allocations: 1.732 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3675, allocations: 0.8758 MB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.3676, allocations: 1.406 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.368, allocations: 101.3 kB / 0.5212 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.3682, allocations: 89.89 kB / 0.5213 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.3686, allocations: 114.1 kB / 0.5214 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.3688, allocations: 115.4 kB / 0.5215 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3689, allocations: 22.28 kB / 0.5215 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.369, allocations: 52.72 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.3692, allocations: 64.69 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.3692, allocations: 3.469 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3694, allocations: 67.23 kB / 0.5217 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.3694, allocations: 21.72 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.3695, allocations: 43.5 kB / 0.5217 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.3698, allocations: 145.6 kB / 0.5219 GB, free: 1.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3698, allocations: 1.734 kB / 0.5219 GB, free: 1.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3698, allocations: 0 / 0.5219 GB, free: 1.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3698, allocations: 4 kB / 0.5219 GB, free: 1.16 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.000642/0.3704, allocations: 436.3 kB / 0.5223 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.3705, allocations: 10.47 kB / 0.5223 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.3706, allocations: 41.66 kB / 0.5223 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.3706, allocations: 14.53 kB / 0.5224 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.371, allocations: 218.6 kB / 0.5226 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.371, allocations: 2.156 kB / 0.5226 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.371, allocations: 11.22 kB / 0.5226 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.3713, allocations: 73.02 kB / 0.5226 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3713, allocations: 1.031 kB / 0.5226 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3713, allocations: 0.9844 kB / 0.5227 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3713, allocations: 1.219 kB / 0.5227 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.3715, allocations: 25.56 kB / 0.5227 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.3719, allocations: 305.8 kB / 0.523 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.3723, allocations: 60.47 kB / 0.523 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.024e-05/0.3724, allocations: 21.41 kB / 0.523 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3724, allocations: 5.062 kB / 0.5231 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.3726, allocations: 68.77 kB / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.3726, allocations: 0 / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001094/0.3737, allocations: 250 kB / 0.5234 GB, free: 15.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.3738, allocations: 60.94 kB / 0.5234 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.3742, allocations: 234.8 kB / 0.5236 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.3743, allocations: 31.89 kB / 0.5237 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3744, allocations: 106.9 kB / 0.5238 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.3745, allocations: 35.5 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.3746, allocations: 28.14 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.3748, allocations: 329.2 kB / 0.5241 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.3749, allocations: 29.8 kB / 0.5242 GB, free: 15.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3751, allocations: 45.61 kB / 0.5242 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.3753, allocations: 87.19 kB / 0.5243 GB, free: 15.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3753, allocations: 0.5156 kB / 0.5243 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003824/0.3757, allocations: 129.7 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3757, allocations: 5.234 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3758, allocations: 1 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3758, allocations: 5.219 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.3759, allocations: 24.08 kB / 0.5245 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3759, allocations: 1.938 kB / 0.5245 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.376, allocations: 3.062 kB / 0.5245 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3761, allocations: 7.625 kB / 0.5245 GB, free: 14.98 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.0001941/0.3763, allocations: 140.3 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.3763, allocations: 14.23 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.3764, allocations: 20.19 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3764, allocations: 14.23 kB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3764, allocations: 0 / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3764, allocations: 0.7969 kB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008309/0.3773, allocations: 462.7 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3773, allocations: 0 / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/0.3774, allocations: 13.92 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3774, allocations: 1.375 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3774, allocations: 3.297 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3774, allocations: 6.203 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3775, allocations: 0.8438 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.3779, allocations: 240.3 kB / 0.5253 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.378, allocations: 91.12 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.378, allocations: 2.625 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3782, allocations: 10.31 kB / 0.5254 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.3783, allocations: 8.875 kB / 0.5255 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.3783, allocations: 4.266 kB / 0.5255 GB, free: 14.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.3786, allocations: 188.8 kB / 0.5256 GB, free: 14.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3786, allocations: 0 / 0.5256 GB, free: 14.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.3791, allocations: 31.3 kB / 0.5257 GB, free: 14.01 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.003498/0.3826, allocations: 1.182 MB / 0.5268 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.383, allocations: 77.38 kB / 0.5269 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.383, allocations: 1.375 kB / 0.5269 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3832, allocations: 43.02 kB / 0.5269 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.3838, allocations: 33.97 kB / 0.527 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.3873, allocations: 1.862 MB / 0.5288 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.3878, allocations: 0.7246 MB / 0.5295 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.388, allocations: 21.08 kB / 0.5295 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3881, allocations: 44.77 kB / 0.5296 GB, free: 10.91 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3881, allocations: 1.344 kB / 0.5296 GB, free: 10.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.4212, allocations: 3.933 MB / 0.5334 GB, free: 9.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.385, allocations: 11.38 kB / 0.5334 GB, free: 9.039 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches