Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.001241/0.001247, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001355/0.001355, allocations: 184.2 kB / 18.72 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.428/1.428, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2271/0.2271, allocations: 44.18 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3127, allocations: 60.83 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00268/0.3155, allocations: 1.702 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3166, allocations: 0.8794 MB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.3167, allocations: 5.25 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.3169, allocations: 41.61 kB / 0.5211 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.3172, allocations: 59.52 kB / 0.5211 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.3174, allocations: 105.2 kB / 0.5212 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.3176, allocations: 98.75 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.574e-05/0.3177, allocations: 16.3 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.3178, allocations: 36.95 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.3178, allocations: 34.34 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3179, allocations: 3.5 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.99e-05/0.318, allocations: 42.7 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.318, allocations: 25.22 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.3181, allocations: 37.42 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.3183, allocations: 115.9 kB / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3183, allocations: 5.062 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3183, allocations: 4 kB / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3183, allocations: 0 / 0.5216 GB, free: 1.199 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004352/0.3188, allocations: 435.3 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3188, allocations: 9.406 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.3188, allocations: 33.14 kB / 0.5221 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.3189, allocations: 10.55 kB / 0.5221 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.3191, allocations: 212.3 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3191, allocations: 5.594 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3191, allocations: 11.12 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.3193, allocations: 54.62 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3193, allocations: 0 / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.3193, allocations: 1.25 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3193, allocations: 0.9375 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.887e-05/0.3194, allocations: 18.48 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.3197, allocations: 293 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.3198, allocations: 60.8 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.3199, allocations: 24.39 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3199, allocations: 5.734 kB / 0.5228 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.3201, allocations: 64.42 kB / 0.5228 GB, free: 52 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3201, allocations: 0 / 0.5228 GB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005533/0.3206, allocations: 186.2 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3207, allocations: 57.33 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.3209, allocations: 222.5 kB / 0.5233 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.321, allocations: 31.08 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.321, allocations: 105.4 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.3211, allocations: 26.84 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.3211, allocations: 25.97 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3213, allocations: 327 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.3214, allocations: 21.7 kB / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.111e-05/0.3214, allocations: 36 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3216, allocations: 52.69 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3216, allocations: 1.188 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002028/0.3218, allocations: 109.7 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3218, allocations: 12.97 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3218, allocations: 3.938 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3218, allocations: 1.406 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.3219, allocations: 19.53 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3219, allocations: 1.859 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.322, allocations: 10.55 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.322, allocations: 7.703 kB / 0.524 GB, free: 15.1 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 (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.0001091/0.3221, allocations: 128.8 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.3222, allocations: 15.67 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.3222, allocations: 21.5 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3222, allocations: 1.594 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3222, allocations: 0 / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3222, allocations: 4.734 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.3227, allocations: 398.7 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3227, allocations: 0 / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.3228, allocations: 8.609 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.3228, allocations: 5.641 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3228, allocations: 5.953 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3228, allocations: 1.062 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3228, allocations: 2 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3231, allocations: 209.2 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.3231, allocations: 89.17 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3232, allocations: 6.297 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.3232, allocations: 4.312 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3233, allocations: 8.453 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.3233, allocations: 7.984 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3235, allocations: 176.2 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3235, allocations: 0 / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3237, allocations: 26.31 kB / 0.5251 GB, free: 14.19 MB / 398.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.002091/0.3258, allocations: 1.092 MB / 0.5262 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.326, allocations: 64.97 kB / 0.5262 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.326, allocations: 0 / 0.5262 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.99e-05/0.3261, allocations: 29.12 kB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3265, allocations: 29.12 kB / 0.5263 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3283, allocations: 1.722 MB / 0.528 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3287, allocations: 0.7186 MB / 0.5287 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.715e-05/0.3287, allocations: 20.58 kB / 0.5287 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.3288, allocations: 40.47 kB / 0.5287 GB, free: 11.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3288, allocations: 3.938 kB / 0.5287 GB, free: 11.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.3528, allocations: 3.546 MB / 0.5322 GB, free: 9.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.242, allocations: 1.812 kB / 0.5322 GB, free: 9.633 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches